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

Method main

src/com/blankj/easy/_0112/Solution.java:21–26  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

19 }
20
21 public static void main(String[] args) {
22 Solution solution = new Solution();
23 TreeNode testData = TreeNode.createTestData("[5,4,8,11,null,13,4,7,2,null,null,null,1]");
24 TreeNode.print(testData);
25 System.out.println(solution.hasPathSum(testData, 22));
26 }
27}

Callers

nothing calls this directly

Calls 3

createTestDataMethod · 0.95
printMethod · 0.95
hasPathSumMethod · 0.95

Tested by

no test coverage detected