Amadeus interview question

java + oops concepts and some dsa questions