You can complete at most k projects before an IPO. Each project i needs a minimum capital capital[i] to start and adds profits[i] to your capital when finished. Starting with capital w, return the maximum capital you can end with.
Practise this challenge
All coding challenges