MCPcopy Create free account
hub / github.com/LjyYano/LeetCode / findMaximizedCapital

Method findMaximizedCapital

src/main/java/L0502_IPO.java:47–79  ·  view source on GitHub ↗

贪心 + 优先队列(堆) 按照资本排序,每次选择当前可以做的项目中利润最大的

(int k, int w, int[] profits, int[] capital)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected