Amadeus interview question

encapsulation linked list array strings pointers