maxFish to store the maximum number of fish caught.fishCount.
c. Set the current cell to 0 (mark as visited) to avoid revisiting.
d. Recursively call DFS for all adjacent cells (up, down, left, right) and add their fish counts to fishCount.
e. Return fishCount.maxFish with the maximum of its current value and the fish count returned by DFS.maxFish as the result.