Infosys interview question

They ask simple DSA questions