Amazon interview question

Questions are all on LP's