Infosys Interview Question

They ask simple DSA questions