GamifiedGamified challengesPracticeRaceLeaderboardPricing

Learn data structures by watching them move, then doing it yourself. Press M anytime to toggle sound.

A product of Amypo Technologies, Coimbatore.

Learn

  • All topics
  • Learning path
  • How it works
  • About dotprep

Practice

  • Practice arena
  • Daily challenge
  • Gamified challenges
  • Race mode
  • Leaderboard

Interview prep

  • Java interview
  • Coding questions
  • Company questions
  • System design
  • Jobs & careers

You

  • Dashboard
  • Settings
  • Pricing
  • Create account

© 2026 dotprep

Content last updated 20 November 2026

GamifiedGamified challengesPracticeRaceLeaderboardPricing
Log inStart free
Gamified challengesSudoku Solver

Gamified challenge · Backtracking

Sudoku Solver

The board is 9 strings of 9 characters: a digit 1-9 is a given, and "." is a blank. Fill the blanks so that every row, every column and every 3 × 3 box contains each digit 1-9 exactly once. Every puzzle has exactly one solution.

Write solve(board) that returns the completed board in the same form: 9 strings of 9 digits, with every given left as it was. Rows, columns and boxes are numbered from 0 in the messages.

Example: if the only blank is in a row reading .19327486, the missing digit is 5, and that row comes back as 519327486.

Sign in to play Sudoku Solver

This game is part of the paid plans. Sign in, then pick a plan to write your answer, watch it play out, and step through the algorithm with its guide.

Sign in with Google

or log in with email · create an account