Two-heaps

5 articles

dsa9 min read

IPO — Greedy Capital Maximization with Two Heaps

Maximize capital after k IPO investments by unlocking affordable projects into a max-profit heap — a sophisticated two-heap greedy problem asked at Google, Amazon, and Facebook that models real-world portfolio optimization.

Read →