Palo Alto Networks Interview Question

Question on minimum distance between two elements