[Tutor] Creating a two dimension set
Dennis Lee Bieber
wlfraed at ix.netcom.com
Mon Nov 1 11:30:16 EDT 2021
On Mon, 1 Nov 2021 19:52:49 +1100, Cameron Simpson <cs at cskk.id.au>
declaimed the following:
>I wouldn't use strings. If you're doing Sudoku don't you want to do
>arithmetic to check the sum? May as well make a set of ints:
>
No arithmetic done in Sudoku... You can replace the 1..9 with A..I, or
even emojis (if you can mentally keep track of such). The only thing one is
doing is eliminating candidates for a cell if that candidate was already
used on the row/column.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed at ix.netcom.com http://wlfraed.microdiversity.freeddns.org/
More information about the Tutor
mailing list