Amazon interview question

two sums, systems design questions