IBM interview question

tough dsa and data structures questions