MCPcopy
hub / github.com/austingebauer/go-leetcode / reachedPacific

Function reachedPacific

pacific_atlantic_water_flow_417/solution.go:160–162  ·  view source on GitHub ↗
(r, c int)

Source from the content-addressed store, hash-verified

158}
159
160func reachedPacific(r, c int) bool {
161 return r < 0 || c < 0
162}
163
164func waterCanFlow(matrix [][]int, pr, pc, ro, co, rd, cd int) bool {
165 // if the next flow destination has reached pacific, atlantic,

Callers 3

canReachPacificFunction · 0.85
canReachAtlanticFunction · 0.85
waterCanFlowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected