Ford Motor Company Interview Question

Typical Hacker Rank data structure and algorithm