Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/austingebauer/go-leetcode
/ isOutOfBounds
Function
isOutOfBounds
spiral_matrix_54/solution.go:52–55 ·
view source on GitHub ↗
(m [][]int, r, c int)
Source
from the content-addressed store, hash-verified
50
}
51
52
func
isOutOfBounds(m [][]int, r, c int) bool {
53
return
r < 0 || r >= len(m) ||
54
c < 0 || c >= len(m[r])
55
}
Callers
1
spiralOrder
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected