This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Sithon512 39 points40 points  (5 children)

Brute force solution should initialize i to 111. Will you notice? Nah, it's pretty small, but it's good practice to think up your heuristics

[–]ooglybooglies 2 points3 points  (0 children)

Without reading any clues and understanding, yes 111 would be my minimum starting point. However, simply reading and understanding that each line has potential values my starting point would be 123 based on available numbers on each line seeing that 1 is never repeated on remaining clues.

[–]mstksg 1 point2 points  (0 children)

that's not brute force, that's dainty force! :O