BCD Travel interview question

..