2021
- 2021/09/251525.Number of Good Ways to Split a String
- 2021/09/251423.Maximum Points You Can Obtain from Cards
- 2021/09/251293.Shortest Path in a Grid with Obstacles Elimination
- 2021/09/251197.Minimum Knight Moves
- 2021/09/25735.Asteroid Collision
- 2021/09/24443.String Compression
- 2021/09/24724.Find Pivot Index
- 2021/09/24934.Shortest Bridge
- 2021/09/241048.Longest String Chain
- 2021/09/241559.Detect Cycles in 2D Grid
- 2021/09/24865.Smallest Subtree with all the Deepest Nodes
- 2021/09/211011.Capacity To Ship Packages Within D Days
- 2021/09/21843.Guess the Word
- 2021/09/21548.Split Array with Equal Sum
- 2021/09/211509.Minimum Difference Between Largest and Smallest Value in Three Moves
- 2021/09/211277.Count Square Submatrices with All Ones
- 2021/09/211161.Maximum Level Sum of a Binary Tree
- 2021/09/21359.Logger Rate Limiter
- 2021/09/21329.Longest Increasing Path in a Matrix
- 2021/09/20778.Swim in Rising Water
- 2021/09/201522.Diameter of N-Ary Tree
- 2021/09/20515.Find Largest Value in Each Tree Row
- 2021/09/20362.Design Hit Counter
- 2021/09/191868.Product of Two Run-Length Encoded Arrays
- 2021/09/19921.Minimum Add to Make Parentheses Valid
- 2021/09/181539.Kth Missing Positive Number
- 2021/09/181209.Remove All Adjacent Duplicates in String II
- 2021/09/181004.Max Consecutive Ones III
- 2021/09/18983.Minimum Cost For Tickets
- 2021/09/18658.Find K Closest Elements
- 2021/09/18266.Palindrome Permutation
- 2021/09/181216.Valid Palindrome III
- 2021/09/17691.Stickers to Spell Word
- 2021/09/171891.Cutting Ribbons
- 2021/09/17986.Interval List Intersections
- 2021/09/17509.Fibonacci Number
- 2021/09/17408.Valid Word Abbreviation
- 2021/09/17163. Missing Ranges
- 2021/09/16536. Construct Binary Tree from String
- 2021/09/16766. Toeplitz Matrix
- 2021/09/16317. Shortest Distance from All Buildings
- 2021/09/151344. Angle Between Hands of a Clock
- 2021/09/15670. Maximum Swap
- 2021/09/14282. Expression Add Operators
- 2021/09/14556. Next Greater Element III
- 2021/09/14503. Next Greater Element II
- 2021/09/14496. Next Greater Element I
- 2021/09/13708. Insert into a Sorted Circular Linked List
- 2021/09/13151. Reverse Words in a String
- 2021/09/121213. Intersection of Three Sorted Arrays
- 2021/08/24381. Insert Delete GetRandom O(1) - Duplicates allowed
- 2021/08/181636. Sort Array by Increasing Frequency
- 2021/08/17974. Subarray Sums Divisible by K
- 2021/08/12938. Range Sum of BST
- 2021/08/04498. Diagonal Traverse
- 2021/08/011235. Maximum Profit in Job Scheduling
- 2021/08/011229. Meeting Scheduler
- 2021/08/01759. Employee Free Time
- 2021/08/011359. Count All Valid Pickup and Delivery Options
- 2021/08/01323. Number of Connected Components in an Undirected Graph
- 2021/07/221779. Find Nearest Point That Has the Same X or Y Coordinate
- 2021/07/2012. Integer to Roman
- 2021/07/19156. Binary Tree Upside Down
- 2021/07/19101. Symmetric Tree
- 2021/07/18715. Range Module
- 2021/07/17730. Count Different Palindromic Subsequences
- 2021/07/16450. Delete Node in a BST
- 2021/07/14545. Boundary of Binary Tree
- 2021/07/14460. LFU Cache
- 2021/07/13373. Find K Pairs with Smallest Sums
- 2021/07/12744. Find Smallest Letter Greater Than Target
- 2021/07/11361. Bomb Enemy
- 2021/07/10465. Optimal Account Balancing
- 2021/07/09432. All O(1) Data Structure
- 2021/07/0836. Valid Sudoku
- 2021/07/07671. Second Minimum Node In a Binary Tree
- 2021/07/06367. Valid Perfect Square
- 2021/07/04802. Find Eventual Safe States
- 2021/07/03841. Keys and Rooms
- 2021/07/02265. Paint House II
- 2021/07/01256. Paint House
- 2021/06/3050. Pow(x, n)
- 2021/06/30605. Can Place Flowers
- 2021/06/29742. Closest Leaf in a Binary Tree
- 2021/06/2732. Longest Valid Parentheses
- 2021/06/26315. Count of Smaller Numbers After Self
- 2021/06/24576. Out of Boundary Paths
- 2021/06/22392. Is Subsequence
- 2021/06/22792. Number of Matching Subsequences
- 2021/06/18140. Word Break II
- 2021/06/141650. Lowest Common Ancestor of a Binary Tree III
- 2021/06/13827. Making A Large Island
- 2021/06/131762. Buildings With an Ocean View
- 2021/06/111263. Minimum Moves to Move a Box to Their Target Location
- 2021/06/09360. Sort Transformed Array
- 2021/06/0968. Text Justification
- 2021/06/08611. Valid Triangle Number
- 2021/06/08254. Factor Combinations
- 2021/06/07366. Find Leaves of Binary Tree
- 2021/06/07243. Shortest Word Distance
- 2021/06/02706. Design HashMap
- 2021/06/01218. The Skyline Problem
- 2021/05/311248. Count Number of Nice Subarrays
- 2021/05/271312. Minimum Insertion Steps to Make a String Palindrome
- 2021/05/26310. Minimum Height Trees
- 2021/05/25261. Graph Valid Tree
- 2021/05/241804. Implement Trie II (Prefix Tree)
- 2021/05/231871. Jump Game VII
- 2021/05/19398. Random Pick Index
- 2021/05/19528. Random Pick with Weight
- 2021/05/171570. Dot Product of Two Sparse Vectors
- 2021/05/161249. Minimum Remove to Make Valid Parentheses
- 2021/05/131428. Leftmost Column with at Least a One
- 2021/05/111396. Design Underground System
- 2021/05/11953. Verifying an Alien Dictionary
- 2021/05/11117. Populating Next Right Pointers in Each Node II
- 2021/05/11116. Populating Next Right Pointers in Each Node
- 2021/05/06122. Best Time to Buy and Sell Stock II
- 2021/05/04863. All Nodes Distance K in Binary Tree
- 2021/05/031448. Count Good Nodes in Binary Tree
- 2021/04/30394. Decode String
- 2021/04/30695. Max Area of Island
- 2021/04/28981. Time Based Key-Value Store
- 2021/04/27973. K Closest Points to Origin
- 2021/04/24355. Design Twitter
- 2021/04/21145. Binary Tree Postorder Traversal
- 2021/04/21144. Binary Tree Preorder Traversal
- 2021/04/1547. Permutations II
- 2021/04/09141. Linked List Cycle
- 2021/04/0894. Binary Tree Inorder Traversal
- 2021/04/06142. Linked List Cycle II
- 2021/04/0492. Reverse Linked List II
- 2021/04/0486. Partition List
- 2021/04/0382. Remove Duplicates from Sorted List II
- 2021/04/0261. Rotate List
- 2021/04/01234. Palindrome Linked List
- 2021/03/31235. Lowest Common Ancestor of a Binary Search Tree
- 2021/03/2470. Climbing Stairs
- 2021/03/211801. Number of Orders in the Backlog
2020
- 2020/08/19824. Goat Latin
- 2020/08/171103. Distribute Candies to People
- 2020/08/15435. Non-overlapping Intervals
- 2020/08/14409. Longest Palindrome
- 2020/08/131286. Iterator for Combination
- 2020/08/11274. H-Index
- 2020/08/10171. Excel Sheet Column Number
- 2020/08/09994. Rotting Oranges
- 2020/08/07987. Vertical Order Traversal of a Binary Tree
- 2020/08/04342. Power of Four
- 2020/08/02705. Design HashSet
- 2020/08/01520. Detect Capital
- 2020/05/1824. Swap Nodes in Pairs
- 2020/05/162. Add Two Numbers
2019
- 2019/05/08Java-Spring
- 2019/03/26find max path
- 2019/03/25947. Most Stones Removed with Same Row or Column
- 2019/03/25688. Knight Probability in Chessboard
- 2019/03/19685. Redundant Connection II
- 2019/03/18find max sibling layer
- 2019/03/14pair bike and pedestrian
- 2019/03/13log start
- 2019/03/10803. Bricks Falling When Hit
- 2019/03/10951. Flip Equivalent Binary Trees
- 2019/03/09777. Swap Adjacent in LR String
- 2019/03/08750. Number Of Corner Rectangles
- 2019/03/07497. Random Point in Non-overlapping Rectangles
- 2019/03/06939. Minimum Area Rectangle
- 2019/03/06833. Find And Replace in String
- 2019/03/04853. Car Fleet
- 2019/03/04855. Exam Room
- 2019/03/03890. Find and Replace Pattern
- 2019/03/02489. Robot Room Cleaner
- 2019/02/26design Elevator
- 2019/02/26239. Sliding Window Maximum
- 2019/02/22490. The Maze
- 2019/02/20857. Minimum Cost to Hire K Workers
- 2019/01/22904. Fruit Into Baskets
- 2019/01/20979. Distribute Coins in Binary Tree
- 2019/01/20978. Longest Turbulent Subarray
- 2019/01/20977. Squares of a Sorted Array
- 2019/01/1974. Search a 2D Matrix
- 2019/01/1862. Unique Paths
- 2019/01/0246. Permutations
- 2019/01/0243. Multiply Strings
- 2019/01/0141. First Missing Positive
2018
- 2018/12/3035. Search Insert Position
- 2018/12/3027. Remove Element
- 2018/12/3026. Remove Duplicates from Sorted Array
- 2018/12/2925. Reverse Nodes in k-Group
- 2018/12/2722. Generate Parentheses
- 2018/12/23962. Maximum Width Ramp
- 2018/12/2319. Remove Nth Node From End of List
- 2018/12/21929. Unique Email Addresses
- 2018/12/16958. Check Completeness of a Binary Tree
- 2018/12/04322. Coin Change
- 2018/12/04675. Cut Off Trees for Golf Event
- 2018/11/2014. Longest Common Prefix
- 2018/11/1911. Container With Most Water
- 2018/11/177. Reverse Integer
- 2018/11/176. ZigZag Conversion
- 2018/11/09212. Word Search II
- 2018/11/02811. Subdomain Visit Count
- 2018/11/01380. Insert Delete GetRandom O(1)
- 2018/10/31771. Jewels and Stones
- 2018/10/29692. Top K Frequent Words
- 2018/10/29103. Binary Tree Zigzag Level Order Traversal
- 2018/10/28930. Binary Subarrays With Sum
- 2018/10/26leetcode review
- 2018/10/25Leetcode category
- 2018/10/25909. Snakes and Ladders
- 2018/10/23547. Friend Circles
- 2018/10/22279. Perfect Squares
- 2018/10/2253. Maximum Subarray
- 2018/10/22918. Maximum Sum Circular Subarray
- 2018/10/19716. Max Stack
- 2018/10/19155. Min Stack
- 2018/10/18703. Kth Largest Element in a Stream
- 2018/10/08240. Search a 2D Matrix II
- 2018/10/08295. Find Median from Data Stream
- 2018/10/03146. LRU Cache
- 2018/10/01220. Contains Duplicate III
- 2018/10/01219. Contains Duplicate II
- 2018/10/01217. Contains Duplicate
- 2018/09/2171. Simplify Path
- 2018/09/21674. Longest Continuous Increasing Subsequence
- 2018/09/21210. Course Schedule II
- 2018/09/18272. Closest Binary Search Tree Value II
- 2018/09/17270. Closest Binary Search Tree Value
- 2018/09/05304. Range Sum Query 2D - Immutable
- 2018/09/03160. Intersection of Two Linked Lists
- 2018/09/03403. Frog Jump
- 2018/09/03Flatten a multilevel linked list
- 2018/09/03157. Read N Characters Given Read4
- 2018/09/02129. Sum Root to Leaf Numbers
- 2018/09/0130. Substring with Concatenation of All Words
- 2018/09/0123. Merge k Sorted Lists
- 2018/09/01399. Evaluate Division
- 2018/08/31491. Increasing Subsequences
- 2018/08/31636. Exclusive Time of Functions
- 2018/08/31429. N-ary Tree Level Order Traversal
- 2018/08/30251. Flatten 2D Vector
- 2018/08/30281. Zigzag Iterator
- 2018/08/29825. Friends Of Appropriate Ages
- 2018/08/29311. Sparse Matrix Multiplication
- 2018/08/29819. Most Common Word
- 2018/08/284. Median of Two Sorted Arrays
- 2018/08/27721. Accounts Merge
- 2018/08/2713. Roman to Integer
- 2018/08/2799. Recover Binary Search Tree
- 2018/08/2763. Unique Paths II
- 2018/08/27In-place conversion of Sorted DLL to Balanced BST
- 2018/08/2642. Trapping Rain Water
- 2018/08/26158. Read N Characters Given Read4 II - Call multiple times
- 2018/08/26128. Longest Consecutive Sequence
- 2018/08/26161. One Edit Distance
- 2018/08/26114. Flatten Binary Tree to Linked List
- 2018/08/25463. Island Perimeter
- 2018/08/25206. Reverse Linked List
- 2018/08/25252. Meeting Rooms
- 2018/08/2534. Find First and Last Position of Element in Sorted Array
- 2018/08/24269. Alien Dictionary
- 2018/08/2433. Search in Rotated Sorted Array
- 2018/08/23346. Moving Average from Data Stream
- 2018/08/23348. Design Tic-Tac-Toe
- 2018/08/23785. Is Graph Bipartite?
- 2018/08/23211. Add and Search Word - Data structure design
- 2018/08/23208. Implement Trie (Prefix Tree)
- 2018/08/2388. Merge Sorted Array
- 2018/08/23278. First Bad Version
- 2018/08/23325. Maximum Size Subarray Sum Equals k
- 2018/08/22277. Find the Celebrity
- 2018/08/22133. Clone Graph
- 2018/08/22791. Custom Sort String
- 2018/08/22125. Valid Palindrome
- 2018/08/22257. Binary Tree Paths
- 2018/08/22247. Strobogrammatic Number II
- 2018/08/22426. Convert Binary Search Tree to Sorted Doubly Linked List
- 2018/08/22124. Binary Tree Maximum Path Sum
- 2018/08/21560. Subarray Sum Equals K
- 2018/08/21543. Diameter of Binary Tree
- 2018/08/21349. Intersection of Two Arrays
- 2018/08/21215. Kth Largest Element in an Array
- 2018/08/21143. Reorder List
- 2018/08/21438. Find All Anagrams in a String
- 2018/08/2176. Minimum Window Substring
- 2018/08/21297. Serialize and Deserialize Binary Tree
- 2018/08/20309. Best Time to Buy and Sell Stock with Cooldown
- 2018/08/20121. Best Time to Buy and Sell Stock
- 2018/08/2067. Add Binary
- 2018/08/20283. Move Zeroes
- 2018/08/2029. Divide Two Integers
- 2018/08/19621. Task Scheduler
- 2018/08/19253. Meeting Rooms II
- 2018/08/1991. Decode Ways
- 2018/08/1865. Valid Number
- 2018/08/1810. Regular Expression Matching
- 2018/08/18680. Valid Palindrome II
- 2018/08/17314. Binary Tree Vertical Order Traversal
- 2018/08/17301. Remove Invalid Parentheses
- 2018/08/16273. Integer to English Words
- 2018/08/1617. Letter Combinations of a Phone Number
- 2018/08/15152. Maximum Product Subarray
- 2018/08/13516. Longest Palindromic Subsequence
- 2018/08/13647. Palindromic Substrings
- 2018/08/11227. Basic Calculator II
- 2018/08/10332. Reconstruct Itinerary
- 2018/08/08207. Course Schedule
- 2018/08/02402. Remove K Digits
- 2018/08/02767. Reorganize String
- 2018/08/02452. Minimum Number of Arrows to Burst Balloons
- 2018/08/01763. Partition Labels
- 2018/08/01232. Implement Queue using Stacks
- 2018/08/01439. Ternary Expression Parser
- 2018/08/01255. Verify Preorder Sequence in Binary Search Tree
- 2018/07/30131. Palindrome Partitioning
- 2018/07/3077. Combinations
- 2018/07/30306. Additive Number
- 2018/07/2989. Gray Code
- 2018/07/29784. Letter Case Permutation
- 2018/07/29401. Binary Watch
- 2018/07/27186. Reverse Words in a String II
- 2018/07/26350. Intersection of Two Arrays II
- 2018/07/2660. Permutation Sequence
- 2018/07/2637. Sudoku Solver
- 2018/07/25249. Group Shifted Strings
- 2018/07/25244. Shortest Word Distance II
- 2018/07/25739. Daily Temperatures
- 2018/07/25149. Max Points on a Line
- 2018/07/2557. Insert Interval
- 2018/07/24126. Word Ladder II
- 2018/07/24154. Find Minimum in Rotated Sorted Array II
- 2018/07/2356. Merge Intervals
- 2018/07/23238. Product of Array Except Self
- 2018/07/23123. Best Time to Buy and Sell Stock III
- 2018/07/2345. Jump Game II
- 2018/07/11199. Binary Tree Right Side View
- 2018/07/10230. Kth Smallest Element in a BST
- 2018/07/10173. Binary Search Tree Iterator
- 2018/07/10108. Convert Sorted Array to Binary Search Tree
- 2018/07/10110. Balanced Binary Tree
- 2018/07/10100. Same Tree
- 2018/07/10617. Merge Two Binary Trees
- 2018/07/10226. Invert Binary Tree
- 2018/07/09111. Minimum Depth of Binary Tree
- 2018/07/09437. Path Sum III
- 2018/07/09113. Path Sum II
- 2018/07/09112. Path Sum
- 2018/07/09222. Count Complete Tree Nodes
- 2018/07/06376. Wiggle Subsequence
- 2018/07/05698. Partition to K Equal Sum Subsets
- 2018/07/05416. Partition Equal Subset Sum
- 2018/07/01300. Longest Increasing Subsequence
- 2018/07/01343. Integer Break
- 2018/06/29264. Ugly Number II
- 2018/06/28307. Range Sum Query - Mutable
- 2018/06/28139. Word Break
- 2018/06/27337. House Robber III
- 2018/06/27213. House Robber II
- 2018/06/27198. House Robber
- 2018/06/265. Longest Palindromic Substring
- 2018/06/26339. Nested List Weight Sum
- 2018/06/26364. Nested List Weight Sum II
- 2018/06/21106. Construct Binary Tree from Inorder and Postorder Traversal
- 2018/06/20523. Continuous Subarray Sum
- 2018/06/2075. Sort Colors
- 2018/06/19119. Pascal's Triangle II
- 2018/06/19717. 1-bit and 2-bit Characters
- 2018/06/16236. Lowest Common Ancestor of a Binary Tree
- 2018/06/16654. Maximum Binary Tree
- 2018/06/14127. Word Ladder
- 2018/06/14200. Number of Islands
- 2018/06/14102. Binary Tree Level Order Traversal
- 2018/06/14179. Largest Number
- 2018/06/13406. Queue Reconstruction by Height
- 2018/06/13341. Flatten Nested List Iterator
- 2018/06/1398. Validate Binary Search Tree
- 2018/06/12150. Evaluate Reverse Polish Notation
- 2018/06/10241. Different Ways to Add Parentheses
- 2018/06/09319. Bulb Switcher
- 2018/06/098. String to Integer (atoi)
- 2018/06/08148. Sort List
- 2018/06/07347. Top K Frequent Elements
- 2018/06/0649. Group Anagrams
- 2018/06/06138. Copy List with Random Pointer
- 2018/06/06535. Encode and Decode TinyURL
- 2018/06/06340. Longest Substring with At Most K Distinct Characters
- 2018/06/06159. Longest Substring with At Most Two Distinct Characters
- 2018/06/063. Longest Substring Without Repeating Characters
- 2018/06/0518. 4Sum
- 2018/06/05162. Find Peak Element
- 2018/06/0590. Subsets II
- 2018/06/0578. Subsets
- 2018/06/05105. Construct Binary Tree from Preorder and Inorder Traversal
- 2018/06/04442. Find All Duplicates in an Array
- 2018/06/0464. Minimum Path Sum
- 2018/06/04377. Combination Sum IV
- 2018/06/04216. Combination Sum III
- 2018/06/0140. Combination Sum II
- 2018/06/0139. Combination Sum
- 2018/06/01289. Game of Life
- 2018/06/0131. Next Permutation
- 2018/05/3173. Set Matrix Zeroes
- 2018/05/3179. Word Search
- 2018/05/31287. Find the Duplicate Number
- 2018/05/30228. Summary Ranges
- 2018/05/30229. Majority Element II
- 2018/05/3059. Spiral Matrix II
- 2018/05/3054. Spiral Matrix
- 2018/05/2916. 3Sum Closest
- 2018/05/2981. Search in Rotated Sorted Array II
- 2018/05/25153. Find Minimum in Rotated Sorted Array
- 2018/05/2548. Rotate Image
- 2018/05/21369. Plus One Linked List
- 2018/05/19445. Add Two Numbers II
- 2018/05/1515. 3Sum
- 2018/05/14413. Arithmetic Slices
- 2018/05/14357. Count Numbers with Unique Digits
- 2018/05/1495. Unique Binary Search Trees II
- 2018/05/1396. Unique Binary Search Trees
- 2018/05/12221. Maximal Square
- 2018/05/1285. Maximal Rectangle
- 2018/05/1284. Largest Rectangle in Histogram
- 2018/05/1172. Edit Distance
- 2018/03/31LC24. Swap Nodes in Pairs
- 2018/03/29LC147. Insertion Sort List
- 2018/03/28LC148.Sort List