Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/austingebauer/go-leetcode
/ getPointsForT
Function
getPointsForT
diet_plan_performance_1176/solution.go:25–35 ·
view source on GitHub ↗
(t, lower, upper int)
Source
from the content-addressed store, hash-verified
23
}
24
25
func
getPointsForT(t, lower, upper int) int {
26
if
t < lower {
27
return
-1
28
}
29
30
if
t > upper {
31
return
1
32
}
33
34
return
0
35
}
Callers
1
dietPlanPerformance
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected