American Airlines interview question

My coding was tested in math