# IPO Capital Projects Heap **Idea.** Sort projects by capital; unlock into a max-heap of profits as W grows. **Complexity.** State time and space before coding. **Interview tip.** Restate constraints, give brute force first, then optimize. *Disclosure: practice note shared by the Linkjob AI team.* For live mock-interview practice see [real-time interview help](https://www.linkjob.ai/).