MCPcopy Create free account
hub / github.com/neetcode-gh/leetcode / max

Function max

go/0124-binary-tree-maximum-path-sum.go:27–33  ·  view source on GitHub ↗
(a, b int)

Source from the content-addressed store, hash-verified

25}
26
27func max(a, b int) int {
28 if a > b {
29 return a
30 }
31
32 return b
33}

Callers 1

maxPathSumUtilFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected