sudoku 数独 Rectangle Elimination
Rectangle Elimination - SudokuWiki.org
This is the first novel 'tough' strategy in a long time and replaces Empty Rectangles which I feel is an overly complicated pattern. Ken Reek from Denver, USA, sent me his explanation and it is included in his solver SudoKoach. I think it sufficiently distinct to warrant its own test and go near the start. The pattern can also be expressed with AICs usually with at least one grouped cell. For those curious I've kept the Empty Rectangle test on the solver so you can go back a step, untick Rectangle Elimination and compare.
I will use the original puzzle Ken sent to me to illustrate his pattern.
The pattern works on a single number - in this case 9.
The base of the pattern consists of a Hinge cell G2 connected to the one remaining 9 in the row (or column), in this case G6. This part has to be a strong either/or link. First 'wing' cell in orange.
From the hinge G2 we look for another 9 in the opposite orientation (the column) and in a different box that is weakly linked - more than two 9s in the unit. The second 'wing' cell.
Consider the weakly-linked A2. If it's ON, then the other wing cell G6 must also be ON. However, this would eliminate ALL the 9s in the 'fourth corner box' (box 2, which is the fourth corner of the rectangle). So A2 cannot be ON, i.e. we can eliminate 9 as a possibility from A2. Simple as.
This is an interesting and elegant strategy discovered by Ken Reek, which is indeed simpler than Empty Rectangles. Let me break down the Rectangle Elimination pattern from your example:
Key Elements:
- Hinge cell: G2 (containing 9)
- First wing cell: G6 (forms strong link with hinge horizontally)
- Second wing cell: A2 (weakly linked to hinge vertically)
- Fourth corner box: Box 2 (where the elimination of 9s would occur)
The logic flow:
- If A2 were 9:
- G2 couldn't be 9 (same column)
- Therefore G6 must be 9 (strong link with G2)
- But this would eliminate all 9s in box 2
- Therefore A2 cannot be 9
The pattern requires:
- A hinge cell
- A strong link from the hinge in one direction (row/column)
- A weak link from the hinge in the perpendicular direction
- The resulting rectangle formation must threaten to eliminate all instances of the digit in the fourth corner box
This is indeed more straightforward than Empty Rectangles and seems like it would be more frequently applicable. Given its relative simplicity, it makes sense to place it earlier in the solving order, perhaps around difficulty level 3, after basic subset patterns but before more complex patterns like X-Wings.
作者:Chuck Lu GitHub |
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
2021-11-01 高等数学 第二章 极限与连续 柳重堪 P4到P9 6个视频
2021-11-01 历年成考真题 专升本 含高数
2019-11-01 HearthBuddy投降插件2019-11-01的使用
2019-11-01 正则表达式在线分析 regex online analyzer
2019-11-01 Tips to write better Conditionals in JavaScript
2019-11-01 The fileSyncDll.ps1 is not digitally signed. You cannot run this script on the current system.
2017-11-01 web security