Amazon interview question

General algorithm & datastructures questions - nothing detailed.