Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VanjaRo/LeetCode
/ abs
Function
abs
tasks/20.go:57–62 ·
view source on GitHub ↗
(a byte)
Source
from the content-addressed store, hash-verified
55
}
56
57
func
abs(a byte) byte {
58
if
a > 0 {
59
return
a
60
}
61
return
-a
62
}
Callers
1
isValid
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected