Amadeus Interview Question

Related to data structures and algorithms