Design tic-tac-toe
easy 70 minModel a game everybody knows: marks on a grid, turns, a full line wins.
Watch lesson4:32
Mock interview
Answer against the clock, then score yourself.
0:00 of 45:00
Design tic-tac-toe for two players on a board of any size. A full row, column or diagonal wins. Moves can be taken back. Write working code for the rules, without a screen.
Step 1 of 6 · 4 min
Clarify
Interviewer
Where do you start?