← Questions

Four in a row: check a winning move

0
SnowflakeCodingLast asked Nov 2026

A coding interview question asked in Snowflake's coding round, last asked Nov 2026. It tests matrix, simulation and game.

Two players, "a" and "b", play on a rectangular grid. board is a 2D list of strings; each cell is "a", "b", or "" (empty). move = (row, col) is the cell where player places a piece. Return True if, after the piece is placed, player has…

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

  • Snowflake · Coding · Last asked Nov 202660 min · Live coding; senior loops may agree a small storage component together, then build it

What it tests

matrix · simulation · game

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