2658. Maximum Number of Fish in a Grid - Explanation

Problem Link