Amadeus Interview Question

Asked about design pattern.