PriceEasy AI interview question

SQL based question using window functions