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

Asklemmy

43946 readers
631 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_[email protected]~

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 14 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 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.

[โ€“] [email protected] 2 points 1 year ago

Exact same here

[โ€“] [email protected] 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.

[โ€“] [email protected] 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?

[โ€“] [email protected] 2 points 1 year ago (1 children)

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

[โ€“] [email protected] 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.

[โ€“] [email protected] 3 points 1 year ago

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

[โ€“] [email protected] 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.

[โ€“] [email protected] 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

[โ€“] [email protected] 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.

[โ€“] [email protected] 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.

[โ€“] [email protected] 2 points 1 year ago (1 children)

What I usually do is going through the puzzle doing snydernotation first (marking when a number can only be in 2 places in a box)

Most easy puzzles can be done with only that, then when it stops being fruitful I fully mark the puzzle up and start looking for things in roughly this order:

  • triples
  • x-wings
  • simple-fishes (skyscraper, 2-wing kites)
  • xy-wings
  • xyz-wings
  • swordfishes
  • chaining techniques

That's at least my basic rough order of going through solving a puzzle.

[โ€“] cujo 2 points 1 year ago (1 children)

That's... a lot. I'm assuming those are techniques for efficiently solving sudoku puzzles? I never thought about it, but it makes sense that there would be defined methodologies for tackling this kind of puzzle.

[โ€“] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Yeah, there are a lot of techniques, mostly they are patterns that are quite easy to spot, so that you don't have to manually go through the logic each time. Basically on the form of If a number can't be here then it must be here, can't be here, and must be there, because of this this one cell that looks like it's detached from the rest can't be this. Very difficult to only explain in text, but here is a link to some of the most common ones, if you are interested, with images and examples:

X-wings especially: https://www.sudokuwiki.org/X_Wing_Strategy

general explanation https://www.sudokuwiki.org/Getting_Started look on the left side of the page for different techniques sorted by difficulty.

I also have a been the moderator of r/sudoku for years, where we usually help people out solving puzzles that they can't solve :) It's a lot of fun :)

load more comments
view more: next โ€บ