| 16 | */ |
| 17 | public class IPO { |
| 18 | public static class Program { |
| 19 | public int cost; |
| 20 | public int profits; |
| 21 | public Program(int cost, int profits) { |
| 22 | this.cost = cost; |
| 23 | this.profits = profits; |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | public static int findMaximizedCapital(int k, int w, int[] costs, int[] profits) { |
| 28 | PriorityQueue<Program> minCostQueue = new PriorityQueue<>(new MinCostComparator()); |
nothing calls this directly
no outgoing calls
no test coverage detected