Skip to content

Instantly share code, notes, and snippets.

@itsPG
Forked from priyavrat-misra/leetcode-study-plans.md
Created October 31, 2023 00:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save itsPG/392bbecf185d5a8758f2cfdbe8484e4f to your computer and use it in GitHub Desktop.
Save itsPG/392bbecf185d5a8758f2cfdbe8484e4f to your computer and use it in GitHub Desktop.
A curated list of all LeetCode study plans.

LeetCode Study Plans

Programming Skills

Programming Skills I
  • 1523. Count Odd Numbers in an Interval Range
  • 1491. Average Salary Excluding the Minimum and Maximum Salary
  • 0191. Number of 1 Bits
  • 1281. Subtract the Product and Sum of Digits of an Integer
  • 0976. Largest Perimeter Triangle
  • 1779. Find Nearest Point That Has the Same X or Y Coordinate
  • 1822. Sign of the Product of an Array
  • 1502. Can Make Arithmetic Progression From Sequence
  • 0202. Happy Number
  • 1790. Check if One String Swap Can Make Strings Equal
  • 0589. N-ary Tree Preorder Traversal
  • 0496. Next Greater Element I
  • 1232. Check If It Is a Straight Line
  • 1588. Sum of All Odd Length Subarrays
  • 0283. Move Zeroes
  • 1672. Richest Customer Wealth
  • 1572. Matrix Diagonal Sum
  • 0566. Reshape the Matrix
  • 1768. Merge Strings Alternately
  • 1678. Goal Parser Interpretation
  • 0389. Find the Difference
  • 0709. To Lower Case
  • 1309. Decrypt String from Alphabet to Integer Mapping
  • 0953. Verifying an Alien Dictionary
  • 1290. Convert Binary Number in a Linked List to Integer
  • 0876. Middle of the Linked List
  • 0104. Maximum Depth of Binary Tree
  • 0404. Sum of Left Leaves
  • 1356. Sort Integers by The Number of 1 Bits
  • 0232. Implement Queue using Stacks
  • 0242. Valid Anagram
  • 0217. Contains Duplicate
  • 1603. Design Parking System
  • 0303. Range Sum Query - Immutable
Programming Skills II
  • 0896. Monotonic Array
  • 0028. Implement strStr()
  • 0110. Balanced Binary Tree
  • 0459. Repeated Substring Pattern
  • 0150. Evaluate Reverse Polish Notation
  • 0066. Plus One
  • 1367. Linked List in Binary Tree
  • 0043. Multiply Strings
  • 0067. Add Binary
  • 0989. Add to Array-Form of Integer
  • 0739. Daily Temperatures
  • 0058. Length of Last Word
  • 0048. Rotate Image
  • 1886. Determine Whether Matrix Can Be Obtained By Rotation
  • 0054. Spiral Matrix
  • 0973. K Closest Points to Origin
  • 1630. Arithmetic Subarrays
  • 0429. N-ary Tree Level Order Traversal
  • 0503. Next Greater Element II
  • 0556. Next Greater Element III
  • 1376. Time Needed to Inform All Employees
  • 0049. Group Anagrams
  • 0438. Find All Anagrams in a String
  • 0713. Subarray Product Less Than K
  • 0304. Range Sum Query 2D - Immutable
  • 0910. Smallest Range II
  • 0143. Reorder List
  • 0138. Copy List with Random Pointer
  • 0002. Add Two Numbers
  • 0445. Add Two Numbers II
  • 0061. Rotate List
  • 0173. Binary Search Tree Iterator
  • 1845. Seat Reservation Manager
  • 0860. Lemonade Change
  • 0155. Min Stack
  • 0341. Flatten Nested List Iterator
  • 1797. Design Authentication Manager
  • 0707. Design Linked List
  • 0380. Insert Delete GetRandom O(1)
  • 0622. Design Circular Queue
  • 0729. My Calendar I
Programming Skills III
  • 1634. Add Two Polynomials Represented as Linked Lists
  • 0369. Plus One Linked List
  • 1836. Remove Duplicates From an Unsorted Linked List
  • 0426. Convert Binary Search Tree to Sorted Doubly Linked List
  • 0325. Maximum Size Subarray Sum Equals k
  • 0209. Minimum Size Subarray Sum
  • 0525. Contiguous Array
  • 1798. Maximum Number of Consecutive Values You Can Make
  • 0255. Verify Preorder Sequence in Binary Search Tree
  • 0224. Basic Calculator
  • 0901. Online Stock Span
  • 0241. Different Ways to Add Parentheses
  • 0449. Serialize and Deserialize BST
  • 0008. String to Integer (atoi)
  • 0148. Sort List
  • 0023. Merge k Sorted Lists
  • 0708. Insert into a Sorted Circular Linked List
  • 0282. Expression Add Operators
  • 0227. Basic Calculator II
  • 0772. Basic Calculator III
  • 0641. Design Circular Deque
  • 1352. Product of the Last K Numbers
  • 1597. Build Binary Expression Tree From Infix Expression
  • 0214. Shortest Palindrome
  • 0065. Valid Number
  • 0208. Implement Trie (Prefix Tree)
  • 1804. Implement Trie II (Prefix Tree)
  • 0642. Design Search Autocomplete System
  • 0295. Find Median from Data Stream
  • 0895. Maximum Frequency Stack
  • 0146. LRU Cache
  • 0211. Design Add and Search Words Data Structure
  • 0297. Serialize and Deserialize Binary Tree
  • 0281. Zigzag Iterator
  • 0348. Design Tic-Tac-Toe
  • 1166. Design File System
  • 1586. Binary Search Tree Iterator II
  • 1570. Dot Product of Two Sparse Vectors
  • 1244. Design A Leaderboard
  • 1628. Design an Expression Tree With Evaluate Function
  • 0460. LFU Cache
  • 0244. Shortest Word Distance II
  • 0353. Design Snake Game
  • 0251. Flatten 2D Vector
  • 1622. Fancy Sequence
  • 0855. Exam Room
  • 0635. Design Log Storage System
  • 0631. Design Excel Sum Formula
  • 0307. Range Sum Query - Mutable
  • 0535. Encode and Decode TinyURL
  • 0431. Encode N-ary Tree to Binary Tree
  • 0381. Insert Delete GetRandom O(1) - Duplicates allowed
  • 1396. Design Underground System
  • 0715. Range Module

Data Structure

Data Structure I
  • 0217. Contains Duplicate
  • 0053. Maximum Subarray
  • 0001. Two Sum
  • 0088. Merge Sorted Array
  • 0350. Intersection of Two Arrays II
  • 0121. Best Time to Buy and Sell Stock
  • 0566. Reshape the Matrix
  • 0118. Pascal's Triangle
  • 0036. Valid Sudoku
  • 0074. Search a 2D Matrix
  • 0387. First Unique Character in a String
  • 0383. Ransom Note
  • 0242. Valid Anagram
  • 0141. Linked List Cycle
  • 0021. Merge Two Sorted Lists
  • 0203. Remove Linked List Elements
  • 0206. Reverse Linked List
  • 0083. Remove Duplicates from Sorted List
  • 0020. Valid Parentheses
  • 0232. Implement Queue using Stacks
  • 0144. Binary Tree Preorder Traversal
  • 0094. Binary Tree Inorder Traversal
  • 0145. Binary Tree Postorder Traversal
  • 0102. Binary Tree Level Order Traversal
  • 0104. Maximum Depth of Binary Tree
  • 0101. Symmetric Tree
  • 0226. Invert Binary Tree
  • 0112. Path Sum
  • 0700. Search in a Binary Search Tree
  • 0701. Insert into a Binary Search Tree
  • 0098. Validate Binary Search Tree
  • 0653. Two Sum IV - Input is a BST
  • 0235. Lowest Common Ancestor of a Binary Search Tree
Data Structure II
  • 0136. Single Number
  • 0169. Majority Element
  • 0015. 3Sum
  • 0075. Sort Colors
  • 0056. Merge Intervals
  • 0706. Design HashMap
  • 0119. Pascal's Triangle II
  • 0048. Rotate Image
  • 0059. Spiral Matrix II
  • 0240. Search a 2D Matrix II
  • 0435. Non-overlapping Intervals
  • 0334. Increasing Triplet Subsequence
  • 0238. Product of Array Except Self
  • 0560. Subarray Sum Equals K
  • 0415. Add Strings
  • 0409. Longest Palindrome
  • 0290. Word Pattern
  • 0763. Partition Labels
  • 0049. Group Anagrams
  • 0043. Multiply Strings
  • 0187. Repeated DNA Sequences
  • 0005. Longest Palindromic Substring
  • 0002. Add Two Numbers
  • 0142. Linked List Cycle II
  • 0160. Intersection of Two Linked Lists
  • 0082. Remove Duplicates from Sorted List II
  • 0024. Swap Nodes in Pairs
  • 0707. Design Linked List
  • 0025. Reverse Nodes in k-Group
  • 0143. Reorder List
  • 0155. Min Stack
  • 1249. Minimum Remove to Make Valid Parentheses
  • 1823. Find the Winner of the Circular Game
  • 0108. Convert Sorted Array to Binary Search Tree
  • 0105. Construct Binary Tree from Preorder and Inorder Traversal
  • 0103. Binary Tree Zigzag Level Order Traversal
  • 0199. Binary Tree Right Side View
  • 0113. Path Sum II
  • 0450. Delete Node in a BST
  • 0230. Kth Smallest Element in a BST
  • 0173. Binary Search Tree Iterator
  • 0236. Lowest Common Ancestor of a Binary Tree
  • 0297. Serialize and Deserialize Binary Tree
  • 0997. Find the Town Judge
  • 1557. Minimum Number of Vertices to Reach All Nodes
  • 0841. Keys and Rooms
  • 0215. Kth Largest Element in an Array
  • 0347. Top K Frequent Elements
  • 0451. Sort Characters By Frequency
  • 0973. K Closest Points to Origin
Data Structure III
  • 0325. Maximum Size Subarray Sum Equals k
  • 1151. Minimum Swaps to Group All 1's Together
  • 1588. Sum of All Odd Length Subarrays
  • 0452. Minimum Number of Arrows to Burst Balloons
  • 0128. Longest Consecutive Sequence
  • 0454. 4Sum II
  • 0448. Find All Numbers Disappeared in an Array
  • 1427. Perform String Shifts
  • 0409. Longest Palindrome
  • 0187. Repeated DNA Sequences
  • 0005. Longest Palindromic Substring
  • 0044. Wildcard Matching
  • 0214. Shortest Palindrome
  • 1634. Add Two Polynomials Represented as Linked Lists
  • 0369. Plus One Linked List
  • 0148. Sort List
  • 0138. Copy List with Random Pointer
  • 0430. Flatten a Multilevel Doubly Linked List
  • 0281. Zigzag Iterator
  • 0394. Decode String
  • 0739. Daily Temperatures
  • 0042. Trapping Rain Water
  • 0402. Remove K Digits
  • 0456. 132 Pattern
  • 0084. Largest Rectangle in Histogram
  • 0862. Shortest Subarray with Sum at Least K
  • 1602. Find Nearest Right Node in Binary Tree
  • 1469. Find All The Lonely Nodes
  • 1522. Diameter of N-Ary Tree
  • 0337. House Robber III
  • 1325. Delete Leaves With a Given Value
  • 0366. Find Leaves of Binary Tree
  • 0124. Binary Tree Maximum Path Sum
  • 0968. Binary Tree Cameras
  • 0886. Possible Bipartition
  • 0787. Cheapest Flights Within K Stops
  • 0261. Graph Valid Tree
  • 0547. Number of Provinces
  • 0990. Satisfiability of Equality Equations
  • 1319. Number of Operations to Make Network Connected
  • 0305. Number of Islands II
  • 1579. Remove Max Number of Edges to Keep Graph Fully Traversable
  • 0323. Number of Connected Components in an Undirected Graph
  • 1101. The Earliest Moment When Everyone Become Friends
  • 0253. Meeting Rooms II
  • 0023. Merge k Sorted Lists
  • 0378. Kth Smallest Element in a Sorted Matrix
  • 0295. Find Median from Data Stream
  • 0358. Rearrange String k Distance Apart
  • 0759. Employee Free Time
  • 0218. The Skyline Problem
  • 1756. Design Most Recently Used Queue
  • 0729. My Calendar I
  • 1606. Find Servers That Handled Most Number of Requests
  • 0208. Implement Trie (Prefix Tree)
  • 0211. Design Add and Search Words Data Structure
  • 1858. Longest Word With All Prefixes
  • 0212. Word Search II
  • 0336. Palindrome Pairs
  • 0642. Design Search Autocomplete System

Algorithm

Algorithm I
  • 0704. Binary Search
  • 0278. First Bad Version
  • 0035. Search Insert Position
  • 0977. Squares of a Sorted Array
  • 0189. Rotate Array
  • 0283. Move Zeroes
  • 0167. Two Sum II - Input Array Is Sorted
  • 0344. Reverse String
  • 0557. Reverse Words in a String III
  • 0876. Middle of the Linked List
  • 0019. Remove Nth Node From End of List
  • 0003. Longest Substring Without Repeating Characters
  • 0567. Permutation in String
  • 0733. Flood Fill
  • 0695. Max Area of Island
  • 0617. Merge Two Binary Trees
  • 0116. Populating Next Right Pointers in Each Node
  • 0542. 01 Matrix
  • 0994. Rotting Oranges
  • 0021. Merge Two Sorted Lists
  • 0206. Reverse Linked List
  • 0077. Combinations
  • 0046. Permutations
  • 0784. Letter Case Permutation
  • 0070. Climbing Stairs
  • 0198. House Robber
  • 0120. Triangle
  • 0231. Power of Two
  • 0191. Number of 1 Bits
  • 0190. Reverse Bits
  • 0136. Single Number
Algorithm II
  • 0034. Find First and Last Position of Element in Sorted Array
  • 0033. Search in Rotated Sorted Array
  • 0074. Search a 2D Matrix
  • 0153. Find Minimum in Rotated Sorted Array
  • 0162. Find Peak Element
  • 0082. Remove Duplicates from Sorted List II
  • 0015. 3Sum
  • 0844. Backspace String Compare
  • 0986. Interval List Intersections
  • 0011. Container With Most Water
  • 0438. Find All Anagrams in a String
  • 0713. Subarray Product Less Than K
  • 0209. Minimum Size Subarray Sum
  • 0200. Number of Islands
  • 0547. Number of Provinces
  • 0117. Populating Next Right Pointers in Each Node II
  • 0572. Subtree of Another Tree
  • 1091. Shortest Path in Binary Matrix
  • 0130. Surrounded Regions
  • 0797. All Paths From Source to Target
  • 0078. Subsets
  • 0090. Subsets II
  • 0047. Permutations II
  • 0039. Combination Sum
  • 0040. Combination Sum II
  • 0017. Letter Combinations of a Phone Number
  • 0022. Generate Parentheses
  • 0079. Word Search
  • 0213. House Robber II
  • 0055. Jump Game
  • 0045. Jump Game II
  • 0062. Unique Paths
  • 0005. Longest Palindromic Substring
  • 0413. Arithmetic Slices
  • 0091. Decode Ways
  • 0139. Word Break
  • 0300. Longest Increasing Subsequence
  • 0673. Number of Longest Increasing Subsequence
  • 1143. Longest Common Subsequence
  • 0583. Delete Operation for Two Strings
  • 0072. Edit Distance
  • 0322. Coin Change
  • 0343. Integer Break
  • 0201. Bitwise AND of Numbers Range
  • 0384. Shuffle an Array
  • 0202. Happy Number
  • 0149. Max Points on a Line
Algorithm III
  • 1060. Missing Element in Sorted Array
  • 1901. Find a Peak Element II
  • 1231. Divide Chocolate
  • 1182. Shortest Distance to Target Color
  • 1229. Meeting Scheduler
  • 0287. Find the Duplicate Number
  • 0042. Trapping Rain Water
  • 1868. Product of Two Run-Length Encoded Arrays
  • 0159. Longest Substring with At Most Two Distinct Characters
  • 0340. Longest Substring with At Most K Distinct Characters
  • 1004. Max Consecutive Ones III
  • 0239. Sliding Window Maximum
  • 0076. Minimum Window Substring
  • 0286. Walls and Gates
  • 0417. Pacific Atlantic Water Flow
  • 1469. Find All The Lonely Nodes
  • 0582. Kill Process
  • 0863. All Nodes Distance K in Binary Tree
  • 0752. Open the Lock
  • 1319. Number of Operations to Make Network Connected
  • 1368. Minimum Cost to Make at Least One Valid Path in a Grid
  • 1192. Critical Connections in a Network
  • 0254. Factor Combinations
  • 0394. Decode String
  • 0051. N-Queens
  • 0037. Sudoku Solver
  • 0010. Regular Expression Matching
  • 0241. Different Ways to Add Parentheses
  • 0301. Remove Invalid Parentheses
  • 0489. Robot Room Cleaner
  • 0053. Maximum Subarray
  • 0004. Median of Two Sorted Arrays
  • 0315. Count of Smaller Numbers After Self
  • 0309. Best Time to Buy and Sell Stock with Cooldown
  • 0714. Best Time to Buy and Sell Stock with Transaction Fee
  • 0410. Split Array Largest Sum
  • 0337. House Robber III
  • 0221. Maximal Square
  • 0085. Maximal Rectangle
  • 0486. Predict the Winner
  • 0131. Palindrome Partitioning
  • 0132. Palindrome Partitioning II
  • 0416. Partition Equal Subset Sum
  • 0983. Minimum Cost For Tickets
  • 0123. Best Time to Buy and Sell Stock III
  • 0174. Dungeon Game
  • 0207. Course Schedule
  • 0210. Course Schedule II
  • 0310. Minimum Height Trees
  • 0329. Longest Increasing Path in a Matrix
  • 1136. Parallel Courses
  • 0269. Alien Dictionary
  • 0260. Single Number III
  • 0864. Shortest Path to Get All Keys
  • 0995. Minimum Number of K Consecutive Bit Flips
  • 1396. Design Underground System
  • 0146. LRU Cache
  • 0981. Time Based Key-Value Store
  • 0715. Range Module
  • 0460. LFU Cache

Graph Theory

Graph Theory I
  • 0733. Flood Fill
  • 0200. Number of Islands
  • 0695. Max Area of Island
  • 1254. Number of Closed Islands
  • 1020. Number of Enclaves
  • 1905. Count Sub Islands
  • 1162. As Far from Land as Possible
  • 0417. Pacific Atlantic Water Flow
  • 1091. Shortest Path in Binary Matrix
  • 0542. 01 Matrix
  • 0934. Shortest Bridge
  • 1926. Nearest Exit from Entrance in Maze
  • 0797. All Paths From Source to Target
  • 0841. Keys and Rooms
  • 0547. Number of Provinces
  • 1319. Number of Operations to Make Network Connected
  • 1376. Time Needed to Inform All Employees
  • 0802. Find Eventual Safe States
  • 1129. Shortest Path with Alternating Colors
  • 1466. Reorder Routes to Make All Paths Lead to the City Zero
  • 0847. Shortest Path Visiting All Nodes
  • 1306. Jump Game III
  • 1654. Minimum Jumps to Reach Home
  • 0365. Water and Jug Problem
  • 0433. Minimum Genetic Mutation
  • 0752. Open the Lock
  • 0127. Word Ladder
  • 0997. Find the Town Judge
  • 1557. Minimum Number of Vertices to Reach All Nodes
  • 1615. Maximal Network Rank
  • 0886. Possible Bipartition
  • 0785. Is Graph Bipartite?
Graph Theory II
  • 0261. Graph Valid Tree
  • 0684. Redundant Connection
  • 0685. Redundant Connection II
  • 1579. Remove Max Number of Edges to Keep Graph Fully Traversable
  • 1101. The Earliest Moment When Everyone Become Friends
  • 0990. Satisfiability of Equality Equations
  • 1061. Lexicographically Smallest Equivalent String
  • 0737. Sentence Similarity II
  • 1258. Synonymous Sentences
  • 1202. Smallest String With Swaps
  • 0721. Accounts Merge
  • 0839. Similar String Groups
  • 0305. Number of Islands II
  • 0924. Minimize Malware Spread
  • 0928. Minimize Malware Spread II
  • 1627. Graph Connectivity With Threshold
  • 1697. Checking Existence of Edge Length Limited Paths
  • 0352. Data Stream as Disjoint Intervals
  • 0207. Course Schedule
  • 0210. Course Schedule II
  • 0310. Minimum Height Trees
  • 1136. Parallel Courses
  • 0269. Alien Dictionary
  • 1857. Largest Color Value in a Directed Graph
  • 1591. Strange Printer II
  • 1203. Sort Items by Groups Respecting Dependencies
  • 1135. Connecting Cities With Minimum Cost
  • 1584. Min Cost to Connect All Points
  • 1168. Optimize Water Distribution in a Village
  • 0778. Swim in Rising Water
  • 1489. Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree
  • 0787. Cheapest Flights Within K Stops
  • 1631. Path With Minimum Effort
  • 1514. Path with Maximum Probability
  • 1928. Minimum Cost to Reach Destination in Time
  • 1368. Minimum Cost to Make at Least One Valid Path in a Grid
  • 0743. Network Delay Time
  • 0505. The Maze II
  • 0499. The Maze III
  • 1334. Find the City With the Smallest Number of Neighbors at a Threshold Distance
  • 1462. Course Schedule IV
  • 1786. Number of Restricted Paths From First to Last Node
  • 0323. Number of Connected Components in an Undirected Graph
  • 0490. The Maze
  • 0317. Shortest Distance from All Buildings
  • 1263. Minimum Moves to Move a Box to Their Target Location
  • 1345. Jump Game IV
  • 0864. Shortest Path to Get All Keys
  • 0913. Cat and Mouse
  • 0694. Number of Distinct Islands
  • 0834. Sum of Distances in Tree
  • 1494. Parallel Courses II
  • 1192. Critical Connections in a Network

Dynamic Programming

Dynamic Programming I
  • 0509. Fibonacci Number
  • 1137. N-th Tribonacci Number
  • 0070. Climbing Stairs
  • 0746. Min Cost Climbing Stairs
  • 0198. House Robber
  • 0213. House Robber II
  • 0740. Delete and Earn
  • 0055. Jump Game
  • 0045. Jump Game II
  • 0053. Maximum Subarray
  • 0918. Maximum Sum Circular Subarray
  • 0152. Maximum Product Subarray
  • 1567. Maximum Length of Subarray With Positive Product
  • 1014. Best Sightseeing Pair
  • 0121. Best Time to Buy and Sell Stock
  • 0122. Best Time to Buy and Sell Stock II
  • 0309. Best Time to Buy and Sell Stock with Cooldown
  • 0714. Best Time to Buy and Sell Stock with Transaction Fee
  • 0139. Word Break
  • 0042. Trapping Rain Water
  • 0413. Arithmetic Slices
  • 0091. Decode Ways
  • 0264. Ugly Number II
  • 0096. Unique Binary Search Trees
  • 0118. Pascal's Triangle
  • 0119. Pascal's Triangle II
  • 0931. Minimum Falling Path Sum
  • 0120. Triangle
  • 1314. Matrix Block Sum
  • 0304. Range Sum Query 2D - Immutable
  • 0062. Unique Paths
  • 0063. Unique Paths II
  • 0064. Minimum Path Sum
  • 0221. Maximal Square
  • 0005. Longest Palindromic Substring
  • 0516. Longest Palindromic Subsequence
  • 0300. Longest Increasing Subsequence
  • 0376. Wiggle Subsequence
  • 0392. Is Subsequence
  • 1143. Longest Common Subsequence
  • 0072. Edit Distance
  • 0322. Coin Change
  • 0518. Coin Change 2
  • 0377. Combination Sum IV
  • 0343. Integer Break
  • 0279. Perfect Squares
Dynamic Programming II
  • 0509. Fibonacci Number
  • 0070. Climbing Stairs
  • 0746. Min Cost Climbing Stairs
  • 0053. Maximum Subarray
  • 0198. House Robber
  • 0213. House Robber II
  • 0256. Paint House
  • 0265. Paint House II
  • 0121. Best Time to Buy and Sell Stock
  • 0714. Best Time to Buy and Sell Stock with Transaction Fee
  • 0309. Best Time to Buy and Sell Stock with Cooldown
  • 0152. Maximum Product Subarray
  • 0487. Max Consecutive Ones II
  • 0376. Wiggle Subsequence
  • 1746. Maximum Subarray Sum After One Operation
  • 1230. Toss Strange Coins
  • 1143. Longest Common Subsequence
  • 1035. Uncrossed Lines
  • 0712. Minimum ASCII Delete Sum for Two Strings
  • 0300. Longest Increasing Subsequence
  • 0673. Number of Longest Increasing Subsequence
  • 1048. Longest String Chain
  • 0646. Maximum Length of Pair Chain
  • 0368. Largest Divisible Subset
  • 0647. Palindromic Substrings
  • 0005. Longest Palindromic Substring
  • 1055. Shortest Way to Form String
  • 0516. Longest Palindromic Subsequence
  • 0064. Minimum Path Sum
  • 0562. Longest Line of Consecutive One in Matrix
  • 1182. Shortest Distance to Target Color
  • 0343. Integer Break
  • 0238. Product of Array Except Self
  • 0139. Word Break
  • 0254. Factor Combinations
  • 0329. Longest Increasing Path in a Matrix
  • 0062. Unique Paths
  • 0063. Unique Paths II
  • 0576. Out of Boundary Paths
  • 0650. 2 Keys Keyboard
  • 0361. Bomb Enemy
  • 0096. Unique Binary Search Trees
  • 1130. Minimum Cost Tree From Leaf Values
  • 0322. Coin Change
  • 0518. Coin Change 2
  • 0039. Combination Sum
  • 0279. Perfect Squares
  • 0416. Partition Equal Subset Sum
  • 0494. Target Sum
Dynamic Programming III
  • 1884. Egg Drop With 2 Eggs and N Floors
  • 0887. Super Egg Drop
  • 0123. Best Time to Buy and Sell Stock III
  • 0188. Best Time to Buy and Sell Stock IV
  • 1751. Maximum Number of Events That Can Be Attended II
  • 1235. Maximum Profit in Job Scheduling
  • 1259. Handshakes That Don't Cross
  • 1478. Allocate Mailboxes
  • 0115. Distinct Subsequences
  • 0435. Non-overlapping Intervals
  • 0452. Minimum Number of Arrows to Burst Balloons
  • 0072. Edit Distance
  • 1682. Longest Palindromic Subsequence II
  • 1062. Longest Repeating Substring
  • 1092. Shortest Common Supersequence
  • 0010. Regular Expression Matching
  • 1216. Valid Palindrome III
  • 0727. Minimum Window Subsequence
  • 0741. Cherry Pickup
  • 1463. Cherry Pickup II
  • 0140. Word Break II
  • 0351. Android Unlock Patterns
  • 0688. Knight Probability in Chessboard
  • 0750. Number Of Corner Rectangles
  • 0651. 4 Keys Keyboard
  • 0634. Find the Derangement of An Array
  • 1692. Count Ways to Distribute Candies
  • 0418. Sentence Screen Fitting
  • 0312. Burst Balloons
  • 1246. Palindrome Removal
  • 0040. Combination Sum II
  • 0983. Minimum Cost For Tickets
  • 1049. Last Stone Weight II
  • 0879. Profitable Schemes
  • 0486. Predict the Winner
  • 1406. Stone Game III
  • 1510. Stone Game IV
  • 0464. Can I Win
  • 1140. Stone Game II
  • 0698. Partition to K Equal Sum Subsets
  • 1066. Campus Bikes II
  • 1434. Number of Ways to Wear Different Hats to Each Other
  • 0902. Numbers At Most N Given Digit Set
  • 0600. Non-negative Integers without Consecutive Ones
  • 1067. Digit Count in Range
  • 0298. Binary Tree Longest Consecutive Sequence
  • 0549. Binary Tree Longest Consecutive Sequence II
  • 0333. Largest BST Subtree
  • 1273. Delete Tree Nodes
  • 0568. Maximum Vacation Days
Dynamic Programming IV
  • 0123. Best Time to Buy and Sell Stock III
  • 0188. Best Time to Buy and Sell Stock IV
  • 1751. Maximum Number of Events That Can Be Attended II
  • 1235. Maximum Profit in Job Scheduling
  • 1259. Handshakes That Don't Cross
  • 1478. Allocate Mailboxes
  • 0032. Longest Valid Parentheses
  • 1105. Filling Bookcase Shelves
  • 1277. Count Square Submatrices with All Ones
  • 0361. Bomb Enemy
  • 1155. Number of Dice Rolls With Target Sum
  • 1269. Number of Ways to Stay in the Same Place After Some Steps
  • 1575. Count All Possible Routes
  • 1639. Number of Ways to Form a Target String Given a Dictionary
  • 0940. Distinct Subsequences II
  • 1866. Number of Ways to Rearrange Sticks With K Sticks Visible
  • 1420. Build Array Where You Can Find The Maximum Exactly K Comparisons
  • 0688. Knight Probability in Chessboard
  • 0837. New 21 Game
  • 1547. Minimum Cost to Cut a Stick
  • 1312. Minimum Insertion Steps to Make a String Palindrome
  • 1278. Palindrome Partitioning III
  • 1000. Minimum Cost to Merge Stones
  • 0664. Strange Printer
  • 0546. Remove Boxes
  • 0294. Flip Game II
  • 1406. Stone Game III
  • 1510. Stone Game IV
  • 1140. Stone Game II
  • 0526. Beautiful Arrangement
  • 1879. Minimum XOR Sum of Two Arrays
  • 0980. Unique Paths III
  • 0847. Shortest Path Visiting All Nodes
  • 1125. Smallest Sufficient Team
  • 0691. Stickers to Spell Word
  • 1655. Distribute Repeating Integers
  • 1349. Maximum Students Taking Exam
  • 1434. Number of Ways to Wear Different Hats to Each Other
  • 1799. Maximize Score After N Operations
  • 1815. Maximum Number of Groups Getting Fresh Donuts
  • 1012. Numbers With Repeated Digits
  • 1067. Digit Count in Range
  • 0865. Smallest Subtree with all the Deepest Nodes
  • 1372. Longest ZigZag Path in a Binary Tree
  • 0894. All Possible Full Binary Trees
  • 0337. House Robber III
  • 0124. Binary Tree Maximum Path Sum
  • 1130. Minimum Cost Tree From Leaf Values
  • 0968. Binary Tree Cameras
  • 1483. Kth Ancestor of a Tree Node
  • 1425. Constrained Subsequence Sum
  • 0446. Arithmetic Slices II - Subsequence
  • 0975. Odd Even Jump
  • 1687. Delivering Boxes from Storage to Ports
  • 1055. Shortest Way to Form String
  • 0174. Dungeon Game
  • 0514. Freedom Trail
  • 1473. Paint House III
  • 0471. Encode String with Shortest Length
  • 1240. Tiling a Rectangle with the Fewest Squares

Binary Search

Binary Search I
  • 0704. Binary Search
  • 0374. Guess Number Higher or Lower
  • 0035. Search Insert Position
  • 0852. Peak Index in a Mountain Array
  • 0367. Valid Perfect Square
  • 1385. Find the Distance Value Between Two Arrays
  • 0069. Sqrt(x)
  • 0744. Find Smallest Letter Greater Than Target
  • 0278. First Bad Version
  • 0034. Find First and Last Position of Element in Sorted Array
  • 0441. Arranging Coins
  • 1539. Kth Missing Positive Number
  • 0167. Two Sum II - Input Array Is Sorted
  • 1608. Special Array With X Elements Greater Than or Equal X
  • 1351. Count Negative Numbers in a Sorted Matrix
  • 0074. Search a 2D Matrix
  • 1337. The K Weakest Rows in a Matrix
  • 1346. Check If N and Its Double Exist
  • 0350. Intersection of Two Arrays II
  • 0633. Sum of Square Numbers
  • 1855. Maximum Distance Between a Pair of Values
  • 0033. Search in Rotated Sorted Array
  • 0153. Find Minimum in Rotated Sorted Array
Binary Search II
  • 0209. Minimum Size Subarray Sum
  • 0611. Valid Triangle Number
  • 0658. Find K Closest Elements
  • 1894. Find the Student that Will Replace the Chalk
  • 0300. Longest Increasing Subsequence
  • 1760. Minimum Limit of Balls in a Bag
  • 0875. Koko Eating Bananas
  • 1552. Magnetic Force Between Two Balls
  • 0287. Find the Duplicate Number
  • 1283. Find the Smallest Divisor Given a Threshold
  • 1898. Maximum Number of Removable Characters
  • 1870. Minimum Speed to Arrive on Time
  • 1482. Minimum Number of Days to Make m Bouquets
  • 1818. Minimum Absolute Sum Difference
  • 0240. Search a 2D Matrix II
  • 0275. H-Index II
  • 1838. Frequency of the Most Frequent Element
  • 0540. Single Element in a Sorted Array
  • 0222. Count Complete Tree Nodes
  • 1712. Ways to Split Array Into Three Subarrays
  • 0826. Most Profit Assigning Work
  • 0436. Find Right Interval
  • 0081. Search in Rotated Sorted Array II
  • 0162. Find Peak Element
  • 0154. Find Minimum in Rotated Sorted Array II
  • 0528. Random Pick with Weight
  • 1508. Range Sum of Sorted Subarray Sums
  • 1574. Shortest Subarray to be Removed to Make Array Sorted
  • 1292. Maximum Side Length of a Square with Sum Less than or Equal to Threshold
  • 1498. Number of Subsequences That Satisfy the Given Sum Condition
  • 0981. Time Based Key-Value Store
  • 1300. Sum of Mutated Array Closest to Target
  • 1802. Maximum Value at a Given Index in a Bounded Array
  • 1901. Find a Peak Element II
  • 1146. Snapshot Array
  • 1488. Avoid Flood in The City
  • 1562. Find Latest Group of Size M
  • 1648. Sell Diminishing-Valued Colored Balls
  • 1201. Ugly Number III
  • 0911. Online Election
Binary Search III
  • 1213. Intersection of Three Sorted Arrays
  • 1099. Two Sum Less Than K
  • 1150. Check If a Number Is Majority Element in a Sorted Array
  • 1428. Leftmost Column with at Least a One
  • 0702. Search in a Sorted Array of Unknown Size
  • 1011. Capacity To Ship Packages Within D Days
  • 1533. Find the Index of the Large Integer
  • 1060. Missing Element in Sorted Array
  • 0270. Closest Binary Search Tree Value
  • 1231. Divide Chocolate
  • 1891. Cutting Ribbons
  • 1885. Count Pairs in Two Arrays
  • 1618. Maximum Font to Fit a Sentence in a Screen
  • 0793. Preimage Size of Factorial Zeroes Function
  • 1198. Find Smallest Common Element in All Rows
  • 0668. Kth Smallest Number in Multiplication Table
  • 0719. Find K-th Smallest Pair Distance
  • 1751. Maximum Number of Events That Can Be Attended II
  • 1671. Minimum Number of Removals to Make Mountain Array
  • 0786. K-th Smallest Prime Fraction
  • 1182. Shortest Distance to Target Color
  • 1793. Maximum Score of a Good Subarray
  • 1095. Find in Mountain Array
  • 0004. Median of Two Sorted Arrays
  • 1235. Maximum Profit in Job Scheduling
  • 1713. Minimum Operations to Make a Subsequence
  • 1439. Find the Kth Smallest Sum of a Matrix With Sorted Rows
  • 1847. Closest Room
  • 0363. Max Sum of Rectangle No Larger Than K
  • 1862. Sum of Floored Pairs
  • 0644. Maximum Average Subarray II
  • 1889. Minimum Space Wasted From Packaging
  • 0710. Random Pick with Blacklist
  • 0352. Data Stream as Disjoint Intervals
  • 0778. Swim in Rising Water
  • 0378. Kth Smallest Element in a Sorted Matrix
  • 0774. Minimize Max Distance to Gas Station
  • 1187. Make Array Strictly Increasing
  • 1062. Longest Repeating Substring
  • 1044. Longest Duplicate Substring
  • 0718. Maximum Length of Repeated Subarray
  • 0887. Super Egg Drop
  • 1521. Find a Value of a Mysterious Function Closest to Target
  • 1157. Online Majority Element In Subarray
  • 0302. Smallest Rectangle Enclosing Black Pixels
  • 1631. Path With Minimum Effort
  • 1782. Count Pairs Of Nodes

SQL

SQL I
  • 0595. Big Countries
  • 1757. Recyclable and Low Fat Products
  • 0584. Find Customer Referee
  • 0183. Customers Who Never Order
  • 1873. Calculate Special Bonus
  • 0627. Swap Salary
  • 0196. Delete Duplicate Emails
  • 1667. Fix Names in a Table
  • 1484. Group Sold Products By The Date
  • 1527. Patients With a Condition
  • 1965. Employees With Missing Information
  • 1795. Rearrange Products Table
  • 0608. Tree Node
  • 0176. Second Highest Salary
  • 0175. Combine Two Tables
  • 1581. Customer Who Visited but Did Not Make Any Transactions
  • 1148. Article Views I
  • 0197. Rising Temperature
  • 0607. Sales Person
  • 1141. User Activity for the Past 30 Days I
  • 1693. Daily Leads and Partners
  • 1729. Find Followers Count
  • 0586. Customer Placing the Largest Number of Orders
  • 0511. Game Play Analysis I
  • 1890. The Latest Login in 2020
  • 1741. Find Total Time Spent by Each Employee
  • 1393. Capital Gain/Loss
  • 1407. Top Travellers
  • 1158. Market Analysis I
  • 0182. Duplicate Emails
  • 1050. Actors and Directors Who Cooperated At Least Three Times
  • 1587. Bank Account Summary II
  • 1084. Sales Analysis III
SQL II
  • 1699. Number of Calls Between Two Persons
  • 1251. Average Selling Price
  • 1571. Warehouse Manager
  • 1445. Apples & Oranges
  • 1193. Monthly Transactions I
  • 1633. Percentage of Users Attended a Contest
  • 1173. Immediate Food Delivery I
  • 1211. Queries Quality and Percentage
  • 1607. Sellers With No Sales
  • 0619. Biggest Single Number
  • 1112. Highest Grade For Each Student
  • 1398. Customers Who Bought Products A and B but Not C
  • 1440. Evaluate Boolean Expression
  • 1264. Page Recommendations
  • 0570. Managers with at Least 5 Direct Reports
  • 1303. Find the Team Size
  • 1280. Students and Examinations
  • 1501. Countries You Can Safely Invest In
  • 0184. Department Highest Salary
  • 0580. Count Student Number in Departments
  • 1294. Weather Type in Each Country
  • 0626. Exchange Seats
  • 1783. Grand Slam Titles
  • 1164. Product Price at a Given Date
  • 0603. Consecutive Available Seats
  • 1731. The Number of Employees Which Report to Each Employee
  • 1747. Leetflex Banned Accounts
  • 0181. Employees Earning More Than Their Managers
  • 1459. Rectangles Area
  • 0180. Consecutive Numbers
  • 1988. Find Cutoff Score for Each School
  • 1549. The Most Recent Orders for Each Product
  • 1321. Restaurant Growth
  • 1045. Customers Who Bought All Products
  • 1341. Movie Rating
  • 1867. Orders With Maximum Quantity Above Average
  • 0550. Game Play Analysis IV
  • 0262. Trips and Users
SQL III
  • 1303. Find the Team Size
  • 1308. Running Total for Different Genders
  • 1501. Countries You Can Safely Invest In
  • 1077. Project Employees III
  • 1549. The Most Recent Orders for Each Product
  • 1285. Find the Start and End Number of Continuous Ranges
  • 1596. The Most Frequently Ordered Products for Each Customer
  • 0178. Rank Scores
  • 0177. Nth Highest Salary
  • 1951. All the Pairs With the Maximum Number of Common Followers
  • 1709. Biggest Window Between Visits
  • 1949. Strong Friendship
  • 1532. The Most Recent Three Orders
  • 1126. Active Businesses
  • 1831. Maximum Transaction Each Day
  • 1613. Find the Missing IDs
  • 1270. All People Report to the Given Manager
  • 1369. Get the Second Most Recent Activity
  • 1412. Find the Quiet Students in All Exams
  • 1972. First and Last Call On the Same Day
  • 0185. Department Top Three Salaries
  • 1767. Find the Subtasks That Did Not Execute
  • 1384. Total Sales Amount by Year
  • 0569. Median Employee Salary
  • 0571. Find Median Given Frequency of Numbers
  • 1225. Report Contiguous Dates
  • 1454. Active Users
  • 0618. Students Report By Geography
  • 2010. The Number of Seniors and Juniors to Join the Company II
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment