← BNY Mellon questions

Best time to buy and sell stock with checkout system variations

Filed under BNY Mellon

Write code for the best time to buy and sell stock problem, and extend the solution to handle complex store checkout system variations with item discounts (e.g., buy 3 of the same type, get a…

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 BNY Mellon questions

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