Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/neetcode-gh/leetcode
/ max
Function
max
go/0918-maximum-sum-circular-subarray.go:28–33 ·
view source on GitHub ↗
(a, b int)
Source
from the content-addressed store, hash-verified
26
}
27
28
func
max(a, b int) int {
29
if
a > b {
30
return
a
31
}
32
return
b
33
}
34
35
func
min(a, b int) int {
36
if
a < b {
Callers
1
maxSubarraySumCircular
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected