this post was submitted on 08 Jun 2023
5 points (100.0% liked)

Asklemmy

43783 readers
878 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy ๐Ÿ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
 

When you first crack open a new sudoku puzzle, do you look at the rows or columns first? Or do you work in blocks? What's your strategy?

top 7 comments
sorted by: hot top controversial new old
[โ€“] hbar@lemmy.ml 2 points 1 year ago

I start with 1s, look in the row blocks to see if I can fill any, then the column blocks. Then move on the 2s, 3s... If a block or row or column is mostly filled in I see if I can get any of the rest to close it out.

[โ€“] jedichric@lemmy.ml 2 points 1 year ago (1 children)

I start with 1's and then 2's and then 3's, etc. Eventually, you'll find them all. Just a good way for me to start.

[โ€“] aRatherDapperFox@lemmy.ml 2 points 1 year ago (1 children)

Wait, you start by trying to find anywhere you can place a 1, then once you've got those you move to 2's and so on and so forth? Like... Just looking at the whole board? You don't break it down and work by sections?

[โ€“] jedichric@lemmy.ml 2 points 1 year ago (1 children)

Well, yeah. I have to start somewhere. My Spock brain came up with that.

[โ€“] aRatherDapperFox@lemmy.ml 2 points 1 year ago

I... I never even considered that approach. I always start with the 3x3 blocks, figuring out what numbers are missing and where they might fit. If I get stumped working blocks, I move on to rows and then columns last.

I start with blocks and whatever number I see more of in the board, then lines and columns.

Then give up when I inevitably get it wrong

[โ€“] Gurfaild@feddit.de 2 points 1 year ago* (last edited 1 year ago)

For each number, I mark all cells where I know I can't put it.

If one block, column or row has only one possible cell where a number can be, I put it there and then update all cells where I now know I can't put it anymore.

This algorithm probably isn't the fastest, but it's easy to do manually and it has the advantage that you don't need to backtrack.

load more comments
view more: next โ€บ