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

Function minIntModified

tasks/279.go:25–30  ·  view source on GitHub ↗
(a, b int)

Source from the content-addressed store, hash-verified

23}
24
25func minIntModified(a, b int) int {
26 if a == -1 || b < a {
27 return b
28 }
29 return a
30}

Callers 1

numSquaresFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected