MCPcopy Create free account
hub / github.com/Blankj/awesome-java-leetcode / main

Method main

src/com/blankj/medium/_0554/Solution.java:35–45  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

33 }
34
35 public static void main(String[] args) {
36 Solution solution = new Solution();
37 List<List<Integer>> list = new ArrayList<>();
38 list.add(Arrays.asList(1, 2, 2, 1));
39 list.add(Arrays.asList(3, 1, 2));
40 list.add(Arrays.asList(1, 3, 2));
41 list.add(Arrays.asList(2, 4));
42 list.add(Arrays.asList(3, 1, 2));
43 list.add(Arrays.asList(1, 3, 1, 1));
44 System.out.println(solution.leastBricks(list));
45 }
46}

Callers

nothing calls this directly

Calls 1

leastBricksMethod · 0.95

Tested by

no test coverage detected