文档章节

[LeetCode] All questions numbers conclusion 所有题目题号

o
 osc_4nmshwhm
发布于 2018/08/07 00:50
字数 2203
阅读 9
收藏 0

精选30+云产品,助力企业轻松上云!>>>

Note: 后面数字n表明刷的第n + 1遍, 如果题目有**, 表明有待总结

Conclusion questions:

[LeetCode] questions conclustion_BFS, DFS

LeetCode questions conclustion_Path in Tree

[LeetCode] questions conlusion_InOrder, PreOrder, PostOrder traversal

[LeetCode] questions for Dynamic Programming

[LeetCode] questions conclusion_ Binary Search

Questions:

[LeetCode] 733. Flood Fill_Easy tag: BFS   2

[LeetCode] 690. Employee Importance_Easy tag: BFS   2

[LeetCode] 529. Minesweeper_ Medium_ tag: BFS   2

[Leetcode] 863. All Nodes Distance K in Binary Tree_ Medium tag: BFS, Amazon   1

[LeetCode] 199. Binary Tree Right Side View_ Medium tag: BFS, Amazon   2

[LeetCode] 200. Number of Islands_ Medium tag: BFS   2

[LeetCode] 102. Binary Tree Level Order Traversal_Medium tag: BFS   2

[LeetCode] 127. Word Ladder _Medium tag: BFS   2

[LeetCode] 675. Cut Off Trees for Golf Event_Hard tag: BFS   2

[LeetCode] 133. Clone Graph_ Medium tag: BFS, DFS   2

[LeetCode] 207 Course Schedule_Medium tag: BFS, DFS   2

[LeetCode] 103. Binary Tree Zigzag Level Order Traversal _ Medium tag: BFS   2

[LeetCode] 101. Symmetric Tree_ Easy tag: BFS   1

[LeetCode] 513. Find Bottom Left Tree Value_ Medium tag: BFS   2

[LeetCode] 261. Graph Valid Tree _ Medium tag: BFS   2

[LeetCode] 286. Walls and Gates_Medium tag: BFS   2

[LeetCode] 785. Is Graph Bipartite?_Medium tag: DFS, BFS   2

[LeetCode] 210. Course Schedule II   2

[LeetCode] 301. Remove Invalid Parentheses_Hard tag:BFS   2

[LeetCode] 104. Maximum Depth of Binary Tree_Easy tag: DFS   4

[LeetCode] 827. Making A Large Island   2

[LeetCode] 694. Number of Distinct Islands   2

[LeetCode] 711. Number of Distinct Islands II_hard tag: DFS   2

[LeetCode] 851. Loud and Rich_ Medium tag: DFS   1

[LeetCode] 112. Path Sum_Easy tag: DFS   2

[LeetCode] 114. Flatten Binary Tree to Linked List_Medium tag: DFS   2

[LeetCode] 116&117. Populating Next Right Pointers in Each Node I&II_Medium tag: BFS(Dont know why leetcode tag it as DFS...)   2

[LeetCode] 257. Binary Tree Paths_ Easy tag: DFS   3

[LeetCode] 113. Path Sum II   3

[LeetCode] 198. House Robber _Easy tag: Dynamic Programming   2

[LeetCode] 221. Maximal Square _ Medium Tag: Dynamic Programming   2

[LeetCode] 437. Path Sum III_ Easy tag: DFS   2

[LeetCode] 124. Binary Tree Maximum Path Sum_ Hard tag: DFS recursive, Divide and conquer   2

[LeetCode] 687. Longest Univalue Path_Easy tag: DFS recursive         2

[LeetCode] 298. Binary Tree Longest Consecutive Sequence_Medium tag: DFS recursive   3

[LeetCode] 549. Binary Tree Longest Consecutive Sequence II_ Medium tag: DFS recursive     2

[LeetCode] 721. Accounts Merge_Medium tag: DFS recursive .     1

[LeetCode] 394. Decode String_Medium tag: stack 666   1

[LeetCode] 62. Unique Paths_ Medium tag: Dynamic Programming

[LeetCode] 64. Minimum Path Sum_Medium tag: Dynamic Programming

[LeetCode] 72. Edit Distance_hard tag: Dynamic Programming       1

[LeetCode] 161. One Edit Distance_Medium

[LeetCode]94, 144, 145 Binary Tree InOrder, PreOrder, PostOrder Traversal_Medium   3

[LeetCode] 589. N-ary Tree Preorder Traversal_Easy   3

[LeetCode] 429. N-ary Tree Level Order Traversal_ Easy   2

[LeetCode] 590. N-ary Tree Postorder Traversal_Easy   2

[LeetCode] 98. Validate Binary Search Tree_Medium   3

[LeetCode] 230. Kth Smallest Element in a BST_Medium tag: Inorder Traversal   2

[LeetCode] 285. Inorder Successor in BST_Medium tag: Inorder Traversal           1

[LeetCode] 105. Construct Binary Tree from Preorder and Inorder Traversal_Medium tag: Tree Traversal        1

[LeetCode] 106. Construct Binary Tree from Postorder and Inorder Traversal_Medium tag: Tree Traversal       1

[LeetCode] 255. Verify Preorder Sequence in Binary Search Tree_Medium tag: Preorder Traversal, tree         1

[LeetCode] 331. Verify Preorder Serialization of a Binary Tree_Medium tag: stack          1

[LeetCode] 329. Longest Increasing Path in a Matrix_Hard tag: Dynamic Programming, DFS, Memoization

[LintCode] 394. Coins in a Line_ Medium tag:Dynamic Programming_博弈

[LintCode] 395. Coins in a Line 2_Medium tag: Dynamic Programming, 博弈

[LeetCode] 42. Trapping Rain Water_hard tag: Two Pointers

[LeetCode] 877. Stone Game == [LintCode] 396. Coins in a Line 3_hard tag: 区间Dynamic Programming, 博弈

[LeetCode] 312. Burst Balloons_hard tag: 区间Dynamic Programming

[LeetCode] 53. Maximum Subarray_Easy tag: Dynamic Programming

[LeetCode] 152. Maximum Product Subarray_Medium tag: Dynamic Programming

[LeetCode] 674. Longest Continuous Increasing Subsequence_Easy Dynamic Programming

[LeetCode] 121. Best Time to Buy and Sell Stock_Easy tag: Dynamic Programming

[LeetCode] 122. Best Time to Buy and Sell Stock II_Easy tag: Dynamic Programming

[LeetCode] 111. Minimum Depth of Binary Tree_Easy tag:DFS   1

[LeetCode] 110. Balanced Binary Tree_Easy tag: DFS   3

[LeetCode] 100. Same Tree_Easy tag: DFS   3

[LeetCode] 99. Recover Binary Search Tree   2

[LeetCode] 130. Surrounded Regions_Medium tag: DFS/BFS  2

[LeetCode] 695. Max Area of Island_Medium tag: DFS/BFS             1

[LeetCode] 129. Sum Root to Leaf Numbers_Medium tag: DFS   3

[LeetCode] 490. The Maze_Medium tag: BFS/DFS                1

[LeetCode] 787. Cheapest Flights Within K Stops_Medium tag: Dynamic Programming, BFS, Heap

[LeetCode] 310. Minimum Height Trees_Medium tag: BFS

[LeetCode] 559. Maximum Depth of N-ary Tree_Easy tag: DFS .     1

[LeetCode] 1. Two Sum_Easy tag: Hash Table   1

[LeetCode] 292. Nim Game_Easy tag: Math

[LeetCode] 458. Poor Pigs_Easy tag: Math

[LeetCode] 237. Delete Node in a Linked List_Easy tag: Linked List

[LeetCode] 195. Tenth Line_Easy tag: Bash

[LeetCode] 595. Big Countries_Easy tag: SQL

[LeetCode] 561. Array Partition I_Easy tag: Sort

[LeetCode] 38. Count and Say_Easy

[LeetCode] 193. Valid Phone Numbers_Easy tag: Bash

[LeetCode] 258. Add Digits_Easy tag: Math

[LeetCode] 88. Merge Sorted Array_Easy tag: Two Pointers

 [LeetCode] 176. Second Highest Salary_Easy tag: SQL

[LeetCode] 557. Reverse Words in a String III_Easy tag: String

[LeetCode] 67. Add Binary_Easy tag: String

[LeetCode] 415. Add Strings_Easy tag: String

[LeetCode] 443. String Compression_Easy tag:String

[LeetCode] 697. Degree of an Array_Easy tag: Hash Table

[LeetCode] 627. Swap Salary_Easy tag: SQL

[LeetCode] 69. Sqrt(x)_Easy tag: Binary Search

[LeetCode] 680. Valid Palindrome II_Easy tag: Two Pointers

[LeetCode] 717. 1-bit and 2-bit Characters_Easy

[LeetCode] 804. Unique Morse Code Words_Easy tag: Hash Table

[LeetCode] 438. Find All Anagrams in a String_Easy

[LeetCode] 628. Maximum Product of Three Numbers_Easy

[LeetCode] 339. Nested List Weight Sum_Easy tag:DFS

[LeetCode] 364. Nested List Weight Sum II_Medium tag:DFS

[LeetCode] 724. Find Pivot Index_Easy tag: Dynamic Programming

 [LeetCode] 232. Implement Queue using Stacks_Easy tag: Design

[LeetCode] 252. Meeting Rooms_Easy tag: Sort

[LeetCode] 181. Employees Earning More Than Their Managers_Easy tag: SQL

[LeetCode] 172. Factorial Trailing Zeroes_Easy tag: Math

[LeetCode] 243. Shortest Word Distance_Easy

[LeetCode] 190. Reverse Bits_Easy tag: Bit Manipulation

[LeetCode] 832. Flipping an Image_Easy

[LeetCode] 196. Delete Duplicate Emails_Easy tag: SQL

[LeetCode] 345. Reverse Vowels of a String_Easy tag:Two Pointers

[LeetCode] 836. Rectangle Overlap_Easy

[LeetCode] 168. Excel Sheet Column Title_Easy tag: Math

[LeetCode] 796. Rotate String_Easy **KMP

[LeetCode] 821. Shortest Distance to a Character_Easy tag: BFS

[LeetCode] 183. Customers Who Never Order_Easy tag: SQL

[LeetCode] 605. Can Place Flowers_Easy

[LeetCode] 532. K-diff Pairs in an Array_Easy tag: Hash Table

[LeetCode] 225. Implement Stack using Queues_Easy tag: Design

[LeetCode] 496. Next Greater Element I_Easy tag: Stack

[LeetCode] 197. Rising Temperature_Easy tag: SQL

[LeetCode] 728. Self Dividing Numbers_Easy tag: Math

[LeetCode] 844. Backspace String Compare_Easy tag: Stack **Two pointers

[LeetCode] 476. Number Complement_Easy tag: Bit Manipulation

[LeetCode] 182. Duplicate Emails_Easy tag: SQL

[LeetCode] 58. Length of Last Word_Easy tag: String

[LeetCode] 867. Transpose Matrix_Easy

[LeetCode] 441. Arranging Coins_Easy tag: Math

[LeetCode] 643. Maximum Average Subarray I_Easy tag: Dynamic Programming(Sliding windows)

[LeetCode] 566. Reshape the Matrix_Easy

[LeetCode] 884. Uncommon Words from Two Sentences_Easy tag: Hash Table

[LeetCode] 455. Assign Cookies_Easy tag: Sort

[LeetCode] 849. Maximize Distance to Closest Person_Easy tag: BFS

[LeetCode] 581. Shortest Unsorted Continuous Subarray_Easy tag: Sort, Stack

[LeetCode] 709. To Lower Case_Easy

[LeetCode] 696. Count Binary Substrings_Easy

[LeetCode] 414. Third Maximum Number_Easy

[LeetCode] 744. Find Smallest Letter Greater Than Target_Easy tag: **Binary Search

[LeetCode] 596. Classes More Than 5 Students_Easy tag:SQL

[LeetCode] 824. Goat Latin_Easy

[LeetCode] 586. Customer Placing the Largest Number of Orders_Easy tag;SQL

[LeetCode] 830. Positions of Large Groups_Easy tag: Two Pointers

[LeetCode] 504. Base 7_Easy tag: Math

[LeetCode] 408. Valid Word Abbreviation_Easy

[LeetCode] 620. Not Boring Movies_Easy tag: SQL

[LeetCode] 788. Rotated Digits_Easy tag: **Dynamic Programming

[LeetCode] 876. Middle of the Linked List_Easy tag: Linked List ** slow, fast pointers

[LeetCode] 859. Buddy Strings_Easy

[LeetCode] 860. Lemonade Change_Easy tag: Greedy

[LeetCode] 577. Employee Bonus_Easy tag: SQL

[LeetCode] 868. Binary Gap_Easy

 [LeetCode] 367. Valid Perfect Square_Easy tag:Math

 [LeetCode] 20. Valid Parentheses_Easy tag: Stack

[LeetCode] 661. Image Smoother_Easy

[LeetCode] 598. Range Addition II_Easy tag: Math

[LeetCode] 872. Leaf-Similar Trees_Easy tag: DFS

[LeetCode] 434. Number of Segments in a String_Easy

[LeetCode] 693. Binary Number with Alternating Bits_Easy

[LeetCode] 762. Prime Number of Set Bits in Binary Representation_Easy

[LeetCode] 276. Paint Fence_Easy tag: Dynamic Programming

[LeetCode] 405. Convert a Number to Hexadecimal_Easy tag: Bit Manipulation

[LeetCode] 840. Magic Squares In Grid_Easy

[LeetCode] 747. Largest Number At Least Twice of Others_Easy

[LeetCode] 506. Relative Ranks_Easy tag: Sort

[LeetCode] 607. Sales Person_Easy tag: SQL

[LeetCode] 603. Consecutive Available Seats_Easy tag: SQL

[LeetCode] 584. Find Customer Referee_Easy tag: SQL

[LeetCode] 619. Biggest Single Number_Easy tag: SQL

[LeetCode] 492. Construct the Rectangle_Easy tag: Math

[LeetCode] 422. Valid Word Square_Easy

[LeetCode] 613. Shortest Distance in a Line_Easy tag: SQL

[LeetCode] 610. Triangle Judgement_Easy tag: SQL

[LeetCode] 704. Binary Search_Easy tag: Binary Search   3

[LeetCode] 374. Guess Number Higher or Lower_Easy tag: Binary Search   3

[LeetCode] 34. Find First and Last Position of Element in Sorted Array == [LintCode] 61. Search for a Range_Easy tag: Binary Search   3

LeetCode] 35. Search Insert Position_Easy tag: Binary Search   3    

[LeetCode] 278. First Bad Version_Easy tag: Binary Search      2

[LeetCode] 162. Find Peak Element(852. Peak Index in a Mountain Array)_Medium tag: Binary Search     3

[LeetCode] 74. Search a 2D Matrix_Medium tag: Binary Search   3

[LeetCode] 240. Search a 2D Matrix II_Medium tag: Binary Search   2

[LeetCode] 69. Sqrt(x)_Easy tag: Binary Search  2

[LeetCode] 153. Find Minimum in Rotated Sorted Array_Medium tag: Binary Search   3

[LeetCode] 154. Find Minimum in Rotated Sorted Array II_Hard     1

[LeetCode] 78. Subsets tag: backtracking         1

[LeetCode] 90.Subsets II tag: backtracking       1

[LeetCode] 33. Search in Rotated Sorted Array_Medium tag: Binary Search   1

[LeetCode] 702. Search in a Sorted Array of Unknown Size_Medium tag: Binary Search .     1

[LeetCode] 236. Lowest Common Ancestor of a Binary Tree_ Medium tag: DFS, Divide and conquer        1

[LeetCode] 120. Triangle _Medium tag: Dynamic Programming .      1

[LeetCode] 63. Unique Paths II_ Medium tag: Dynamic Programming .     1

[LeetCode] 70. Climbing Stairs_ Easy tag: Dynamic Programming .      1

[LeetCode] 55. Jump Game_ Medium tag: Dynamic Programming .     1

[LeetCode] 45. Jump Game II_ Hard tag: Dynamic Programming .       1

[LeetCode] 132. Palindrome Partitioning II_ Hard tag: Dynamic Programming .      1

[LeetCode] 139. Word Break_ Medium tag: Dynamic Programming        1

[LintCode] 77. Longest common subsequences_ Medium tag: Dynamic Programming .    1

[LeetCode] 115. Distinct Subsequences_ Hard tag: Dynamic Programming .        1

[LeetCode] 97. Interleaving String_ Hard tag: Dynamic Programming .        1

[LeetCode] 206. Reverse Linked List_Easy tag: Linked List          1

[LeetCode] 83. Remove Duplicates from Sorted List_Easy tag: Linked List .      1

[LeetCode] 82. Remove Duplicates from Sorted List II_Medium tag: Linked List .    1

[LeetCode] 92. Reverse Linked List II_Medium tag: Linked List         1

[LeetCode] 86. Partition List_Medium tag: Linked List           1

[LeetCode] 876. Middle of the Linked List_Easy tag: Linked List

[LeetCode] 21. Merge Two Sorted Lists_Easy tag: Linked List          1

[LeetCode] 148. Sort List_Middle tag: Linked List

[LeetCode] 143. Reorder List_Middle tag: Linked List

[LeetCode] 23. Merge k Sorted Lists_Hard tag: Linked List        1

[LeetCode] 138. Copy List with Random Pointer_Medium tag: Linked List        1

[LeetCode] 109. Convert Sorted List to Binary Search Tree_Medium tag: Linked List       1

[LeetCode] 234. Palindrome Linked List_Easy tag: Linked List          1

[LeetCode] 189. Rotate Array_Easy tag: Array               1

[LeetCode] 4. Median of Two Sorted Arrays_Hard tag: Array, Binary Search .    1

[LeetCode] 15. 3Sum_Medium tag: Array

[LeetCode] 75. Sort Colors_Medium tag: Two pointers

[LeetCode] 155. Min Stack_Easy tag: stack

[LeetCode] 232. Implement Queue using Stacks_Easy tag: stack

[LeetCode] 84. Largest Rectangle in Histogram_Hard tag: stack

[LeetCode] 654. Maximum Binary Tree_Medium tag: stack

[LeetCode] 128. Longest Consecutive Sequence_Hard tag: Hash

[LeetCode] 146. LRU Cache_Hard tag: Hash, Linked List

[LeetCode] 46. Permutations_Medium tag: DFS, backtracking           1

[LeetCode] 47. Permutations II_Medium tag: DFS, backtracking        1

[LeetCode] 51. N-Queens_Hard tag: DFS, backtracking              1

[LeetCode] 52. N-QueensII_Hard tag: DFS, backtracking

[LeetCode] 131. Palindrome Partitioning_Medium tag: DFS, backtracking, Palindrome       1

[LeetCode] 40. Combination Sum II_Medium tag: backtracking           1

[LeetCode] 39. Combination Sum_Medium tag: backtracking             1

[LeetCode] 126. Word Ladder II_Hard tag: BFS&DFS

[LeetCode] 167. Two Sum II - Input array is sorted_Easy tag: Hash/Two pointers

[LeetCode] 611. Valid Triangle Number_Medium tag: Two pointers

[LeetCode] 16. 3Sum Closest_Medium tag: Array, Two pointers

[LeetCode] 407. Trapping Rain Water II_hard tag: Heap

[LeetCode] 295. Find Median from Data Stream_hard tag: Heap Need to update the follow up question?

[LeetCode] 239. Sliding Window Maximum_Hard tag: deque

[LeetCode] 87. Scramble String_hard tag: 区间Dynamic Programming?

[LeetCode] 416. Partition Equal Subset Sum_Medium tag: backpack .     1

[LeetCode] 322. Coin Change_Medium tag: backpack

[LeetCode] 93. Restore IP Addresses_Medium tag: backtracking

[LeetCode] 17. Letter Combinations of a Phone Number_Medium tag: backtracking           1

[LeetCode] 154. Find Minimum in Rotated Sorted Array II_Hard tag: not real binary search anymore

[LeetCode] 81. Search in Rotated Sorted Array II_Medium tag: not real binary search anymore

[LeetCode] 150. Evaluate Reverse Polish Notation_Medium tag: Stack

[LeetCode] 224. Basic Calculator_Hard tag: stack

[LeetCode] 173. Binary Search Tree Iterator_Medium_tag: Binary Search Tree

[LeetCode] 700. Search in a Binary Search Treer_Easy_tag: Binary Search Tree

[LeetCode] 701. Insert into a Binary Search Tree_Medium_tag: Binary Search Tree

 

o
粉丝 0
博文 500
码字总数 0
作品 0
私信 提问
加载中
请先登录后再评论。

暂无文章

如何在控制器中使用过滤器? - How to use a filter in a controller?

问题: I have written a filter function which will return data based on the argument you are passing. 我编写了一个过滤函数,它将根据您传递的参数返回数据。 I want the same functi......

富含淀粉
今天
26
0
android:layout_weight是什么意思? - What does android:layout_weight mean?

问题: I don't understand how to use this attribute. 我不明白如何使用这个属性。 Can anyone tell me more about it? 谁能告诉我更多关于它的事情? 解决方案: 参考一: https://stacko...

javail
今天
17
0
CSS背景不透明度[重复] - CSS Background Opacity [duplicate]

问题: This question already has an answer here: 这个问题已经在这里有了答案: How do I give text or an image a transparent background using CSS? 如何使用CSS为文本或图像提供透明背...

fyin1314
今天
27
0
node http 获取gb2312网页如何转为utf8

最初,我想当然认为是下述做法,但被证明是错误的 const http = require('http'), iconv = require('iconv-lite');const url = 'http://xxx';http.get(url, function(res) { var bo......

高延
今天
24
0
动态规划:LC198.打家劫舍

题目描述: 你是一个专业的小偷,计划偷窃沿街的房屋。每间房内都藏有一定的现金,影响你偷窃的唯一制约因素就是相邻的房屋装有相互连通的防盗系统,如果两间相邻的房屋在同一晚上被小偷闯入...

曦鱼violet
今天
30
0

没有更多内容

加载失败,请刷新页面

加载更多

返回顶部
顶部