(String[] args)
| 4 | public class Main |
| 5 | { |
| 6 | public static void main(String[] args) { |
| 7 | List<Integer> list = new ArrayList<>(); |
| 8 | list.add(10); |
| 9 | list.add(4); |
| 10 | list.add(8); |
| 11 | list.add(1); |
| 12 | |
| 13 | System.out.println(minimizeMemory(list,2)); |
| 14 | } |
| 15 | |
| 16 | public static int minimizeMemory(List<Integer> processes, int m){ |
| 17 | int n = processes.size(); |
nothing calls this directly
no test coverage detected