MCPcopy Create free account
hub / github.com/VanjaRo/LeetCode / modInt

Function modInt

tasks/977.go:27–32  ·  view source on GitHub ↗
(a int)

Source from the content-addressed store, hash-verified

25}
26
27func modInt(a int) int {
28 if a < 0 {
29 return -a
30 }
31 return a
32}

Callers 1

sortedSquaresFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected