Ford Motor Company Interview Question

Loop on Java and sorting algorithm