FAL 第26期量化风控全线条训练营
private boolean checkRange(int[][] matrix, int x, int y) {
return x >= 0 && x < matrix.length && y >= 0 && y < matrix[0].length;
}
class Point {
int x;
int y;
public Point(int x, int y) {
this.x = x;
this.y = y;
}