Palo Alto Networks interview question

Question on minimum distance between two elements