Remove Colored Pieces if Both Neighbors are the Same Color

mediumSolve on LeetCodeLast edited: August 2, 2025