← Questions

Connect Four game engine with win detection

0
AirbnbGleanCodingLast asked Sep 2026

A coding interview question asked in Glean's coding round and at Airbnb, last asked Sep 2026. It tests design, matrix and simulation.

Implement a two-player game of Connect Four. The board has rows rows and cols columns (default 6 x 7).

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

What it tests

design · matrix · simulation · game

Your code and the AI tutor open when you unlock this question.