Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
27
func
max(a, b int) int {
28
if
a > b {
29
return
a
30
}
31
32
return
b
33
}
Callers
1
maxPathSumUtil
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected