Amazon interview question

Simple questions based on common data structures/algorithms, just study.