Infosys Interview Question

DSA and logic building based