Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tiwarishashwat/InterviewCodes
/ isValidCell
Method
isValidCell
TrappingRainwater2.java:59–61 ·
view source on GitHub ↗
(int row,int col,int rows,int cols)
Source
from the content-addressed store, hash-verified
57
}
58
59
private
boolean isValidCell(
int
row,
int
col,
int
rows,
int
cols) {
60
return
row >= 0 && col >= 0 && row < rows && col < cols;
61
}
62
}
Callers
1
trapRainWater
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected