Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 3127. Make a Square with the Same Color
Given a 3x3 grid of 'B' and 'W', determine whether flipping at most one cell can produce a 2x2 sub-square with all four cells the same color. Equivalently, check if any 2x2 block already has at least three cells of the same color.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.