Leetcode高频题频率表(转载)

Leetcode Questions
IDQUESTIONDIFFICULTYFREQENCYDATA STRUCTURES
58Length of Last Word11string
100Same Tree11tree
104Maximum Depth of Binary Tree11tree
111Minimum Depth of Binary Tree11tree
126Word Ladder II11
14Longest Common Prefix21string
118Pascal’s Triangle21array
119Pascal’s Triangle II21array
121Best Time to Buy and Sell Stock21array
6ZigZag Conversion31string
163Sum Closest31array
30Substring with Concatenation of All Words31string
71Simplify Path31string
96Unique Binary Search Trees31tree
107Binary Tree Level Order Traversal II31tree
120Triangle31array
122Best Time to Buy and Sell Stock II31array
32Longest Valid Parentheses41string
95Unique Binary Search Trees II41tree
123Best Time to Buy and Sell Stock III41array
60Permutation Sequence51
85Maximal Rectangle51array
66Plus One12array
101Symmetric Tree12tree
110Balanced Binary Tree12tree
9Palindrome Number22
35Search Insert Position22array
36Valid Sudoku22array
38Count and Say22string
80Remove Duplicates from Sorted Array II22array
113Path Sum II22tree
3Longest Substring Without Repeating Characters32string, hashtable
11Container With Most Water32array
184Sum32array
55Jump Game32array
59Spiral Matrix II32array
61Rotate List32linked list
92Reverse Linked List II32linked list
5Longest Palindromic Substring42string
25Reverse Nodes in k-Group42linked list
37Sudoku Solver42array
40Combination Sum II42array
42Trapping Rain Water42array
45Jump Game II42array
47Permutations II42array
48Rotate Image42array
54Spiral Matrix42array
68Text Justification42string
75Sort Colors42array
76Minimum Window Substring42string
89Gray Code42
90Subsets II42array
99Recover Binary Search Tree42tree
115Distinct Subsequences42string
117Populating Next Right Pointers in Each Node II42tree
124Binary Tree Maximum Path Sum42tree
31Next Permutation52array
41First Missing Positive52array
84Largest Rectangle in Histogram52array
87Scramble String52string
97Interleaving String52string
26Remove Duplicates from Sorted Array13array
83Remove Duplicates from Sorted List13linked list
112Path Sum13tree
7Reverse Integer23
19Remove Nth Node From End of List23linked list
62Unique Paths23array
108Convert Sorted Array to Binary Search Tree23tree
17Letter Combinations of a Phone Number33string
39Combination Sum33array
53Maximum Subarray33array
63Unique Paths II33array
64Minimum Path Sum33array
74Search a 2D Matrix33array
82Remove Duplicates from Sorted List II33linked list
86Partition List33linked list
93Restore IP Addresses33string
105Construct Binary Tree from Preorder and Inorder Tr33array, tree
106Construct Binary Tree from Inorder and Postorder T33array, tree
114Flatten Binary Tree to Linked List33tree
116Populating Next Right Pointers in Each Node33tree
29Divide Two Integers43
33Search in Rotated Sorted Array43array
34Search for a Range43array
43Multiply Strings43string
51N-Queens43array
52N-Queens II43array
72Edit Distance43string
94Binary Tree Inorder Traversal43tree, hashtable
103Binary Tree Zigzag Level Order Traversal43queue, tree
109Convert Sorted List to Binary Search Tree43linked list
128Longest Consecutive Sequence43array
130Surrounded Regions43array
132Palindrome Partitioning II43string
4Median of Two Sorted Arrays53array
10Regular Expression Matching53string
44Wildcard Matching53string
81Search in Rotated Sorted Array II53array
27Remove Element14array
13Roman to Integer24
24Swap Nodes in Pairs24linked list
67Add Binary24string
129Sum Root to Leaf Numbers24tree
2Add Two Numbers34linked list
12Integer to Roman34
22Generate Parentheses34string
23Merge k Sorted Lists34linked list, heap
46Permutations34array
49Anagrams34string, hashtable
77Combinations34
78Subsets34array
79Word Search34array
91Decode Ways34string
102Binary Tree Level Order Traversal34tree
131Palindrome Partitioning34string
69Sqrt(x)44
1Two Sum25array, set
8String to Integer (atoi)25string
20Valid Parentheses25string
21Merge Two Sorted Lists25linked list
65Valid Number25string
70Climbing Stairs25
88Merge Sorted Array25array
125Valid Palindrome25string
153Sum35array
50Pow(x, n)35
73Set Matrix Zeroes35array
98Validate Binary Search Tree35tree
127Word Ladder35graph
28Implement strStr()45string
56Merge Intervals45array, linked list, red-black tree
57Insert Interval45array, linked list, red-black tree
  • 1
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值