Infosys Interview Question

Tricky technical questions not very difficult though