Amadeus interview question

About DSA and the algorithms.