AlgoMaster Logo

IPO

k=2,w=0,profits=[1, 2, 3],capital=[0, 1, 1]
0 / 7
projects (capital, profit)c=0+1c=1+2c=1+3fund the most profitable affordable project, k times
algomaster.io
Step:Start: pick up to 2 projects, always take the biggest affordable profit