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

Asklemmy

43952 readers
840 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 11 comments
sorted by: hot top controversial new old
[โ€“] hbar@lemmy.ml 4 points 1 year ago (1 children)

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.

[โ€“] TeaHands@lemmy.world 2 points 1 year ago

Exact same here

[โ€“] jedichric@lemmy.ml 3 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

[โ€“] Barrymore@beehaw.org 2 points 1 year ago (1 children)

If you want some tips or are just curious, this channel has a lot of content about sudoku and variants: https://www.youtube.com/channel/UCC-UOdK8-mIjxBQm_ot1T-Q

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

Not so much looking for tips as I am just seeing what everyone else does. I love sudoku puzzles. I don't think I'm necessarily good at them, but I do enjoy them on the reg, lol.

Thanks for the link, though! I'll keep it in mind.

[โ€“] t0fr@lemmy.ca 2 points 1 year ago

Start with a random number, look to see where the rest are in the grid, and look at the columns and rows to see if there are any easy ones to fill in, then move on to the next number.

Then there are a few other algorithms I have to use if the sudoku problem is more challenging. Looking at individual lines to see if there are missing numbers. Try to figure out where numbers absolutely cannot go to narrow things down.

[โ€“] Gurfaild@feddit.de 1 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 โ€บ