---
title: "Discussion on \"Solving a Sudoku board using BackTracking.\" | Hashnode"
description: "Discussion on \"Solving a Sudoku board using BackTracking.\". Backtracking is a general algorithm for finding all solutions to some computational problems. Here are the basic rules of sudoku.\n\nIt is a 9x9 grid. It is divided into 6 3x3 blocks.\nEach block must contain all number numbers from 1 to 9.\nThere must b..."
url: "https://hashnode.com/posts/solving-a-sudoku-board-using-backtracking/600716b3b2c54030097c48c4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Solving a Sudoku board using BackTracking.](https://manosriram.hashnode.dev/solving-a-sudoku-board-using-backtracking?utm_source=hashnode&utm_medium=feed)

Backtracking is a general algorithm for finding all solutions to some computational problems. Here are the basic rules of sudoku. It is a 9x9 grid. It is divided into 6 3x3 blocks. Each block must contain all number numbers from 1 to 9. There must b...

Jan 19, 2021 · 6 min read · manosriram.hashnode.dev  
Read the article

-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#cpp](https://hashnode.com/tag/cpp)
-   [#problem-solving-skills](https://hashnode.com/tag/problem-solving-skills)
-   [#programmer](https://hashnode.com/tag/programmer)
-   [#programming](https://hashnode.com/tag/programming)

## Written by

[Mano Sriram](https://hashnode.com/@manosriram)

@manosriram · Visakhapatnam, India

  
[View profile](https://hashnode.com/@manosriram)

Software Engineer | Content Creator

Hi! I am Mano Sriram, a Full-Stack developer focusing primarily on building scalable and meaningful products 📖 . I do Blog, make YouTube videos too 📹 . I mostly work on Backend (Express) and am trying to become better as a developer.

## Responses 2

Markdown supported · ⌘↵ to post

[Bhargav Ponnapalli](https://hashnode.com/@codewithbhargav)

[Jan 20, 2021](https://hashnode.com/posts/solving-a-sudoku-board-using-backtracking/600716b3b2c54030097c48c4/comment/6007d998094f2b30301de7a8)

Loved this Mano!

Learnt about backtracking a long time ago in college but this was a really nice demo.

Good luck!

[Mano Sriram](https://hashnode.com/@manosriram)

[Jan 20, 2021](https://hashnode.com/posts/solving-a-sudoku-board-using-backtracking/600716b3b2c54030097c48c4/comment/6007d998094f2b30301de7a8#reply-6007eb99094f2b30301de948)

Thank you Bhargav! Means a lot.

[Adam](https://hashnode.com/@adammxyz)

[Jan 20, 2021](https://hashnode.com/posts/solving-a-sudoku-board-using-backtracking/600716b3b2c54030097c48c4/comment/6007b823b2c54030097c4faf)

This is a really good explanation of the algorithm and how it is used with sudoku. I actually did this as a project a while back and updated it to have a GUI. I like your implementation better!

Great job.

[Mano Sriram](https://hashnode.com/@manosriram)

[Jan 20, 2021](https://hashnode.com/posts/solving-a-sudoku-board-using-backtracking/600716b3b2c54030097c48c4/comment/6007b823b2c54030097c4faf#reply-6007ce5bb2c54030097c50f7)

Thank you Adam! Yeah, many solutions are possible :)
