Amazon interview question

The coding questions were based on arrays, data structures, algorithms