Anduril Interview Question

Find minimum distance between 2 items in a list.