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

Method main

src/com/blankj/easy/_0026/Solution.java:24–31  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

22 }
23
24 public static void main(String[] args) {
25 Solution solution = new Solution();
26 int[] data = new int[]{0, 1, 1, 2, 3, 3, 3};
27 int len = solution.removeDuplicates(data);
28 for (int i = 0; i < len; i++) {
29 System.out.print(data[i] + (i == len - 1 ? "" : ", "));
30 }
31 }
32}

Callers

nothing calls this directly

Calls 2

removeDuplicatesMethod · 0.95
printMethod · 0.45

Tested by

no test coverage detected