MCPcopy Create free account
hub / github.com/Rohit91singh9/Coding-DP-DSA / main

Method main

minimizeMemory.java:6–14  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

4public 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();

Callers

nothing calls this directly

Calls 1

minimizeMemoryMethod · 0.95

Tested by

no test coverage detected