Array
2658. Maximum Number of Fish in a Grid
Given a grid: 0 = water, a positive number = fish count in that cell. A fisher starts at any water cell with fish and moves to side-adjacent cells that have fish, collecting them. Find the maximum…
Loading…