leetcode 刷题

Advanced

idNamedifficultysimilar problems
208Implement Trie (Prefix Tree)★★★648676、 677、720、745、211
307Range Sum Query - Mutable★★★
901Online Stock Span★★★907、1019
239Sliding Window Maximum★★★

Search

idNamedifficultysimilar problems
17Letter Combinations of a Phone Number★★3940777890216
46Permutations★★47784、943、996
22Generate Parentheses★★★301
37Sudoku Solver★★★5152
79Word Search★★★212
127Word Ladder★★★★126、752、818
54201 Matrix★★★675、934
698Partition to K Equal Sum Subsets★★★93、131、241、282、842

DP

idNamedifficultysimilar problems
70Climbing Stairs7461137
303Range Sum Query - Immutable1218
53Maximum Subarray★★121
62Unique Paths★★6364120、174、931、1210
85Maximal Rectangle★★★221、304、1277
198House Robber★★★213309740790、801
279Perfect Squares★★★
139Word Break★★★140818
300Longest Increasing Subsequence★★★6731048
96Unique Binary Search Trees★★★
1105Filling Bookcase Shelves★★★
131Palindrome Partitioning★★★89
72Edit Distance★★★10、4497115583712、1187、1143、1092、718
1139Largest 1-Bordered Square★★★
688Knight Probability in Chessboard★★★576、935
322Coin Change★★★377416494、1043、1049、1220、1230、1262、1269
813Largest Sum of Averages★★★★1278、1335、410
1223Dice Roll Simulation★★★★
312Burst Balloons★★★★664、1024、1039、1140、1130
741Cherry Pickup★★★★
546Remove Boxes★★★★★
943Find the Shortest Superstring★★★★★980、996、1125

Graph

idNamedifficultysimilar problems
133Clone Graph★★138
200Number of Islands★★547695733、827、1162
841Keys and Rooms★★1202
207Course Schedule★★★210802
399Evaluate Division★★★839952990、721 737
785Is Graph Bipartite?★★★886、1042
997Find the Town Judge★★★
433Minimum Genetic Mutation★★★815、863、1129、1263
684Redundant Connection★★★★685、1319
743Network Delay Time★★★★787、882、924、1334
847Shortest Path Visiting All Nodes★★★★864、1298
332Reconstruct Itinerary★★★★
1192Critical Connections in a Network★★★★
943Find the Shortest Superstring★★★★★980、996
959Regions Cut By Slashes★★★★★

Tree

idNamedifficultysimilar problems
94Binary Tree Inorder Traversal144、145、429、589、590、987、1302
100Same Tree★★101104、110、111、572、965
102Binary Tree Level Order Traversal★★107、429、872
814Binary Tree Pruning★★★6691325
112Path Sum★★★113437
129Sum Root to Leaf Numbers★★★257
236Lowest Common Ancestor of a Binary Tree★★★235
297Serialize and Deserialize Binary Tree★★★449
508Most Frequent Subtree Sum★★★
124Binary Tree Maximum Path Sum★★★543、687
968Binary Tree Cameras★★★★337、979

Binary Search

idNamedifficultysimilar problems
35Search Insert Position★★34704981
33Search in Rotated Sorted Array★★★81153154162、852
69Sqrt(x)★★★
74Search a 2D Matrix★★★
875Koko Eating Bananas★★★1011
4Median of Two Sorted Arrays★★★★
378Kth Smallest Element in a Sorted Matrix★★★★668
719Find K-th Smallest Pair Distance★★★★786

BST

idNamedifficultysimilar problems
98Validate Binary Search Tree★★530
700Search in a Binary Search Tree★★701
230Kth Smallest Element in a BST★★★
99Recover Binary Search Tree★★★
108Convert Sorted Array to Binary Search Tree★★★
501Find Mode in Binary Search Tree★★★
450Delete Node in a BST★★★★

HashTable

idNamedifficultysimilar problems
1Two Sum★★560

Greedy

idNamedifficultysimilar problems
218Skyline Problem★★★

List

idNamedifficultysimilar problems
2Add Two Numbers★★445
24Swap Nodes in Pairs★★
206Reverse Linked List★★
141Linked List Cycle★★142
23Merge k Sorted Lists★★★21
147Insertion Sort List★★★
148Sort List★★★★
707Design Linked List★★★★

Two Pointers

idNamedifficultysimilar problems
11Container With Most Water★★
167Two Sum II - Input array is sorted★★
977Squares of a Sorted Array★★

Recursion

idNamedifficultysimilar problems
726Number of Atoms★★★736、394
856Score of Parentheses★★★

Divide and Conquer

idNamedifficultysimilar problems
169Majority Element★★
315Count of Smaller Numbers After Self★★★★

Others

idNamedifficultysimilar problems
470Implement Rand10() Using Rand7()
299Bulls and Cows
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值