by jl6 · 4y ago · 0 comments
Simple example: you can never have the following contiguous string:
WORDSAMPLE
Because the solution could legitimately be WORDS+AMPLE or WORD+SAMPLE.
A brute force of all possible contiguous regions, to hunt for rogue alternative solutions, is probably feasible in this small grid, but is there a better way?
This kind of situation actually does occur, and you can then use the knowledge that the solution is unique to conclude that neither alternative (WORDS+AMPLE or WORD+SAMPLE) can be part of the correct solution.
If the fact that a solution is unique is given as part of the rules, then it can be used directly to rule out some classes of solution. That seems to be the case in Cell Tower.