MCPcopy Create free account
hub / github.com/careercup/ctci / main

Method main

java/Chapter 2/Question2_3/Question.java:18–23  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

16 }
17
18 public static void main(String[] args) {
19 LinkedListNode head = AssortedMethods.randomLinkedList(10, 0, 10);
20 System.out.println(head.printForward());
21 deleteNode(head.next.next.next.next); // delete node 4
22 System.out.println(head.printForward());
23 }
24
25}

Callers

nothing calls this directly

Calls 3

randomLinkedListMethod · 0.95
printForwardMethod · 0.95
deleteNodeMethod · 0.95

Tested by

no test coverage detected