Math
2579. Count Total Number of Colored Cells
On an infinite grid, cells are colored over n minutes: minute 1 colors one cell; each following minute colors every white cell side-adjacent to an already-colored one. Find the number of colored…
Loading…