Infosys interview question

Data Structure and Algorithm questions.