Infosys interview question

dsa questions (basic) and project