Eliminate grid cells to avoid duplicates in rows/columns, ensuring no adjacent black cells and all white cells remain connected.
Logic & Math