Amazon interview question

Fully technical and data structures