MCPcopy Create free account
hub / github.com/corpsepiges/leetcode / has_path_sum

Function has_path_sum

Algorithms/112. Path Sum/Solution.rb:13–15  ·  view source on GitHub ↗

@param {TreeNode} root @param {Integer} sum @return {Boolean}

(root, sum)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

leftMethod · 0.45
rightMethod · 0.45

Tested by

no test coverage detected