Amazon interview question

Past experience, algorithms