Simultaneous Color Elimination with Column Gravity

Asked at Capital One · Coding & Leetcode-style Questions · Difficulty: Medium · Last asked Jan 9, 2026

Given a rectangular grid of colors, remove every cell that sits next to at least two cells of its own color, then let the remaining cells fall down their columns. Return the grid after this single round.

Loading the problem…