Amadeus interview question

C++ based implementations.