AlgoMaster Logo

IPO

k=2,w=0,profits=[1, 2, 3],capital=[0, 1, 1]
0 / 7
projects [capital, profit]max_heap[0,1][1,2][1,3]
algomaster.io
Step:Start: Initialize IPO algorithm