Pattern hub system
按解题模式组织的 LeetCode 专题页
如果你想先建立可复用的解题骨架,再把它迁移到不同题型上,这里会比随机刷题更清晰。每个模式专题都围绕识别信号、训练梯度和关联题型组织。
Featured patterns
先从最常用的四种模式开始
这四类模式最适合作为第一轮模式训练入口,既能建立统一骨架,也更容易迁移回高频题型。
代表模式arrow_forward
view_carousel
滑动窗口(状态滚动更新)
识别信号 + 训练梯度 + 关联题型
适合训练区间维护、状态滚动更新和高频字符串/数组场景里的表达节奏。
哈希表字符串滑动窗口
66 题 · 24 个关联题型
代表模式arrow_forward
grid_view
动态·规划
识别信号 + 训练梯度 + 关联题型
适合集中训练状态定义、转移关系和复杂度权衡的完整表达。
数组动态规划深度优先搜索
11 题 · 18 个关联题型
代表模式arrow_forward
search
二分查找
识别信号 + 训练梯度 + 关联题型
重点补齐单调性判断、边界收缩和判定函数思维。
数组二分查找动态规划
1 题 · 7 个关联题型
All patterns
全部模式入口
保留完整模式覆盖,但用更轻的入口来承接,不把页面做成又一堵信息墙。
schemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_right
状态·转移·动态规划
12219223·454
数组·哈希·扫描
10623577·418
贪心·invariant
3712833·198
二分·搜索·答案·空间
1910177·197
二分·树·traversal
388835·161
数组·数学
315030·111
双·指针·invariant
37566·99
栈·状态
124821·81
图·搜索
24722·71
链表指针操作
8456·59
哈希·表·结合·string
35221·58
String-driven solution strategy
4891·58
数组·driven
44100·54
回溯·pruning
23416·52
数组·string
24187·49
数组·matrix
21261·48
展开剩余模式 (117)expand_more
schemachevron_rightschemachevron_rightschemachevron_rightdata_arraychevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_righthubchevron_rightschemachevron_rightschemachevron_rightschemachevron_rightmerge_typechevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightboltchevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_rightschemachevron_right
图·DFS·traversal
12616·43
数学·driven
29113·43
数组·排序
18231·42
前缀和
11224·37
堆
32210·35
数学·string
16127·35
数组·模拟
1880·26
数组·结合·位运算·操作
8142·24
哈希·数学
4114·19
数学·结合·模拟
1140·15
string·结合·模拟
851·14
图
148·13
数学·位运算
751·13
数学·结合·enumeration
543·12
位运算·操作·driven·solution·strategy
830·11
并查集
038·11
数组·结合·enumeration
630·9
数学·结合·几何
250·7
数学·递归
142·7
队列·driven·状态·processing
330·6
数组·结合·二分·indexed·树
023·5
数学·结合·number·theory
131·5
string·结合·rolling·哈希
014·5
string·结合·string·matching
311·5
数组·结合·design
040·4
数组·结合·segment·树
004·4
数学·结合·combinatorics
112·4
string·结合·enumeration
220·4
string·结合·排序
130·4
数学·结合·brainteaser
120·3
string·结合·计数
210·3
数组·结合·divide·conquer
011·2
数组·结合·rolling·哈希
011·2
design·结合·segment·树
002·2
design·结合·模拟
110·2
divide·conquer·结合·位运算·操作
200·2
数学·结合·排序
110·2
string·结合·位运算·操作
020·2
string·结合·递归
011·2
add·双·promises·core·interview·pattern
100·1
Allow One Function Call core interview pattern
100·1
apply·transform·each·element·in·数组·core·interview·pattern
100·1
数组·结合·brainteaser
010·1
数组·prototype·last·core·interview·pattern
100·1
数组·reduce·transformation·core·interview·pattern
100·1
数组·wrapper·core·interview·pattern
100·1
位运算·操作·结合·brainteaser
010·1
cache·time·limit·core·interview·pattern
010·1
calculator·method·chaining·core·interview·pattern
100·1
call·function·custom·context·core·interview·pattern
010·1
Change Data Type core interview pattern
100·1
Check if Object Instance of Class core interview pattern
010·1
chunk·数组·core·interview·pattern
100·1
Compact Object core interview pattern
010·1
补数查找(哈希表)
100·1
Counter core interview pattern
100·1
Counter II core interview pattern
100·1
create·a·dataframe·from·链表·core·interview·pattern
100·1
Create a New Column core interview pattern
100·1
Create Hello World Function core interview pattern
100·1
Debounce core interview pattern
010·1
Design Cancellable Function core interview pattern
001·1
Display the First Three Rows core interview pattern
100·1
Drop Duplicate Rows core interview pattern
100·1
Drop Missing Data core interview pattern
100·1
earliest·finish·time·for·land·water·rides·i·core·interview·pattern
100·1
earliest·finish·time·for·land·water·rides·ii·core·interview·pattern
010·1
Enumeration-driven solution strategy
010·1
Event Emitter core interview pattern
010·1
Execute Asynchronous Functions in Parallel core interview pattern
010·1
Fill Missing Data core interview pattern
100·1
filter·elements·from·数组·core·interview·pattern
100·1
查找·stores·inventory·imbalance·core·interview·pattern
010·1
查找·students·study·spiral·pattern·core·interview·pattern
001·1
flatten·deeply·nested·数组·core·interview·pattern
010·1
Function Composition core interview pattern
100·1
Generate Fibonacci Sequence core interview pattern
100·1
Get the Size of a DataFrame core interview pattern
100·1
贪心
010·1
Group By core interview pattern
010·1
哈希·表·结合·design
010·1
区间·cancellation·core·interview·pattern
100·1
Is Object Empty core interview pattern
100·1
join·双·arrays·by·id·core·interview·pattern
010·1
链表·链表
100·1
数学·结合·design
001·1
数学·结合·divide·conquer
010·1
数学·结合·rejection·sampling
010·1
Maximum Balanced Shipments core interview pattern
010·1
maximum·median·求和·of·subsequences·of·size·3·core·interview·pattern
010·1
Maximum Number of Subsequences After One Inserting core interview pattern
010·1
Memoize core interview pattern
010·1
Memoize II core interview pattern
001·1
Method Chaining core interview pattern
100·1
Minimum Jumps to Reach End via Prime Teleportation core interview pattern
010·1
minimum·removals·to·balance·数组·core·interview·pattern
010·1
Minimum Time to Activate String core interview pattern
010·1
Modify Columns core interview pattern
100·1
nested·数组·generator·core·interview·pattern
010·1
Promise Time Limit core interview pattern
010·1
Rename Columns core interview pattern
100·1
Reshape Data: Concatenate core interview pattern
100·1
Reshape Data: Melt core interview pattern
100·1
Reshape Data: Pivot core interview pattern
100·1
Return Length of Arguments Passed core interview pattern
100·1
Select Data core interview pattern
100·1
Sleep core interview pattern
100·1
Snail Traversal core interview pattern
010·1
排序·by·core·interview·pattern
100·1
栈·bracket
100·1
string·结合·字典树
001·1
Threshold Majority Queries core interview pattern
001·1
Timeout Cancellation core interview pattern
100·1
To Be Or Not To Be core interview pattern
100·1
字典树·driven·solution·strategy
001·1
trionic·数组·i·core·interview·pattern
100·1
trionic·数组·ii·core·interview·pattern
001·1
Product bridge
把模式训练接进真实面试流程
先在模式专题里把识别信号和解题骨架练熟,再进入 LeetCode Interview Copilot 或桌面端下载页,把这套思路迁移到实时面试、在线笔试和复盘流程里。
FAQ
关于模式专题的几个常见问题
先判断你该从模式层还是题型层切入,再决定是否进入产品实战链路。
模式页更适合什么时候用?add
当你不只想做对题,而是想建立可迁移的解题框架时,模式页会比随机刷题更有效。
应该先看题型专题还是模式专题?add
如果你已经知道自己在哪类题上薄弱,就先看题型专题;如果你想先建立统一的解题骨架,就从模式专题开始。
模式专题里会看到什么?add
你会看到模式识别信号、推荐训练梯度、关联题型,以及逐步续载的大题库入口,适合先学框架再扩展题量。
模式训练和产品 CTA 怎么配合?add
先在模式专题里建立结构化解题手感,再进入 LeetCode Interview Copilot 或下载桌面端,把训练内容带进真实面试或笔试流程。