MCPcopy Index your code
hub / github.com/careercup/ctci / main

Method main

java/Chapter 4/Question4_4/QuestionBFS.java:52–57  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

50
51
52 public static void main(String[] args) {
53 int[] nodes_flattened = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
54 TreeNode root = AssortedMethods.createTreeFromArray(nodes_flattened);
55 ArrayList<LinkedList<TreeNode>> list = createLevelLinkedList(root);
56 printResult(list);
57 }
58
59}

Callers

nothing calls this directly

Calls 3

createTreeFromArrayMethod · 0.95
createLevelLinkedListMethod · 0.95
printResultMethod · 0.95

Tested by

no test coverage detected