2579. Count Total Number of Colored Cells - Explanation

Problem Link