Amazon interview question

SQL window functions in the live coding session