← Amazon questions

Wine selling profit

Filed under Amazon

Given n wine bottles with varying initial prices in an array, you can sell one bottle from either the left or right end each year. The profit from selling a bottle in year y is price[i] * y, where…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.