MCPcopy Index your code
hub / github.com/Blankj/awesome-java-leetcode / main

Method main

src/com/blankj/medium/_0019/Solution.java:32–36  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

30 }
31
32 public static void main(String[] args) {
33 Solution solution = new Solution();
34 ListNode.print(solution.removeNthFromEnd(ListNode.createTestData("[1,2,3,4,5]"), 2));
35 ListNode.print(solution.removeNthFromEnd(ListNode.createTestData("[1]"), 1));
36 }
37}

Callers

nothing calls this directly

Calls 3

printMethod · 0.95
removeNthFromEndMethod · 0.95
createTestDataMethod · 0.95

Tested by

no test coverage detected