Dnata Interview Question

mentioned above in the first question