← BNY Mellon questions

Maximize upgraded servers with budget constraints

Filed under BNY Mellon

You have n types of servers. For each type i, you have counts[i] servers, an upgrade_cost[i], and a sell_price[i]. You start with initial_money. You can sell a server of type i to gain sell_price[i]…

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.