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

时间:2023-03-09 23:05:20
[LeetCode] All questions numbers conclusion 所有题目题号

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   1

[LeetCode] 690. Employee Importance_Easy tag: BFS   1

[LeetCode] 529. Minesweeper_ Medium_ tag: BFS   1

[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   1

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

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

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

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

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

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

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

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

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

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

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

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

[LeetCode] 210. Course Schedule II   1

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

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

[LeetCode] 827. Making A Large Island   1

[LeetCode] 694. Number of Distinct Islands   1

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

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

[LeetCode] 112. Path Sum_Easy tag: DFS   1

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

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

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

[LeetCode] 113. Path Sum II   1

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

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

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

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

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

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

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

[LeetCode] 721. Accounts Merge_Medium tag: DFS recursive

[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

[LeetCode] 161. One Edit Distance_Medium

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

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

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

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

[LeetCode] 98. Validate Binary Search Tree_Medium   1

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

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

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

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

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

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

[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   2

[LeetCode] 100. Same Tree_Easy tag: DFS   2

[LeetCode] 99. Recover Binary Search Tree   1

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

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

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

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

[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

[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. BuddyStrings_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   2

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

[LintCode] 61. Search for a Range_Easy tag: Binary Search   2

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

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

[LeetCode] 162. Find Peak Element_Medium tag: Binary Search     2

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

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

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

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

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

[LeetCode] 78. Subsets tag: backtracking

[LeetCode] 90.Subsets II tag: backtracking

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

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

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

[LeetCode] 120. Triangle _Medium tag: Dynamic Programming

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

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

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

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

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

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

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

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

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

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

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

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