Anuj interview question

Dsa and technical related ques