Infosys Interview Question

Nothing unexpected