Leetcode 502. IPO
Given initial capital and n projects each with a required capital and profit, pick up to k distinct projects to maximize your final capital; the core challenge is greedily selecting the highest-profit feasible projects (typically by sorting by capital and using a max-heap of profits) as your available capital grows.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Your account is free and you can post anonymously if you choose.