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

Method main

src/com/blankj/easy/_0027/Solution.java:22–29  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

removeElementMethod · 0.95
printMethod · 0.45

Tested by

no test coverage detected