Amazon interview question

2 program questions(data structure) 20 mcq