Infosys Interview Question

it was casual