Available question text
Starting from one colored cell on an infinite grid, every minute all uncolored cells adjacent to any colored cell become colored; determine the total number of colored cells after n minutes, which follows a quadratic growth pattern (sequence 1, 5, 13, 25, ...).
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2579. Count Total Number of Colored Cells
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source