Problem 3142 · Easy

Check if Grid Satisfies Conditions

Check every cell against its neighbor below, which must match, and its neighbor to the right, which must differ.

Open the interactive visualisation