Connect Four
Square interview questions · Medium · Coding round · 6 tests
Implement the core Connect Four game loop with gravity, alternating turns, and four-in-a-row win detection.
The full question, tests and reference solution are available with a plan that includes Square.
Run your code with Ctrl+Enter to see results.