Amadeus Interview Question

Asked me about OOPs and strings