Apr 22, 2026
[Medium] 1962. Remove Stones to Minimize the Total
leetcodemediumarraygreedyheap
leetcodemediumgreedymax-heappriority-queuesimulation
Apr 21, 2026
[Medium] 2952. Minimum Number of Coins to be Added
leetcodemediumarraygreedysorting
leetcodemediumgreedyarraysortingcoverage
Apr 21, 2026
[Medium] 2592. Maximize Greatness of an Array
leetcodemediumarraygreedysorting
leetcodemediumarraygreedysortingtwo-pointers
Apr 20, 2026
[Medium] 2571. Minimum Operations to Reduce an Integer to 0
leetcodemediummathgreedybit-manipulation
leetcodemediumgreedybit-manipulationbfsbinary
Apr 19, 2026
[Medium] 2539. Count the Number of Good Subsequences
leetcodemediumstringcombinatoricsmathhash-map
leetcodemediumstringcombinatoricsfrequencymodular-arithmetichash-map
Apr 18, 2026
[Medium] 329. Longest Increasing Path in a Matrix
leetcodemediummatrixdynamic-programmingdfs
leetcodemediummatrixdfsmemoizationtopological-sortdag
Apr 18, 2026
[Medium] 221. Maximal Square
leetcodemediumarraymatrixdynamic-programming
leetcodemediummatrixdynamic-programming2d-dp
Apr 17, 2026
[Medium] 274. H-Index
leetcodemediumarraysorting
leetcodemediumarraysortinggreedyh-index
Apr 16, 2026
[Medium] 92. Reverse Linked List II
leetcodemediumlinked-list
leetcodemediumlinked-listin-placehead-insertionpointer-manipulation
Apr 15, 2026
[Medium] 1669. Merge In Between Linked Lists
leetcodemediumlinked-list
leetcodemediumlinked-listpointer-manipulationdummy-node
Apr 14, 2026
[Medium] 143. Reorder List
leetcodemediumlinked-listtwo-pointers
leetcodemediumlinked-listfast-slow-pointersreversemerge
Apr 13, 2026
[Medium] 1353. Maximum Number of Events That Can Be Attended
leetcodemediumgreedyheapsortingscheduling
leetcodemediumgreedyheappriority-queueinterval-scheduling
Apr 12, 2026
[Medium] 894. All Possible Full Binary Trees
leetcodemediumtreedynamic-programming
leetcodemediumbinary-treerecursionmemoization
Apr 11, 2026
[Medium] 2342. Max Sum of a Pair With Equal Sum of Digits
leetcodemediumarrayhash-table
leetcodemediumhash-mapdigits
Apr 10, 2026
[Medium] 2365. Task Scheduler II
leetcodemediumarraysimulationhash-table
leetcodemediumsimulationgreedy
Apr 9, 2026
[Medium] 2461. Maximum Sum of Distinct Subarrays With Length K
leetcodemediumarraysliding-window
leetcodemediumsliding-windowhash-map
Apr 9, 2026
[Medium] 223. Rectangle Area
leetcodemediummathgeometry
leetcodemediummathgeometry
Apr 8, 2026
[Medium] 382. Linked List Random Node
leetcodemediumlinked-listreservoir-sampling
leetcodemediumlinked-listrandomreservoir-sampling
Apr 7, 2026
[Medium] 1328. Break a Palindrome
leetcodemediumstringgreedy
leetcodemediumstringpalindromegreedy
Apr 6, 2026
[Medium] 2270. Number of Ways to Split Array
leetcodemediumarrayprefix-sum
leetcodemediumprefix-sumtwo-pointers
Apr 5, 2026
[Medium] 2433. Find The Original Array of Prefix Xor
leetcodemediumarraybit-manipulation
leetcodemediumxorprefix
Apr 2, 2026
[Medium] 73. Set Matrix Zeroes
leetcodemediumarraymatrix
leetcodemediummatrixin-place
Apr 1, 2026
[Medium] 261. Graph Valid Tree
leetcodemediumgraphunion-finddfs
leetcodemediumgraphunion-finddfstree
Mar 31, 2026
[Medium] 260. Single Number III
leetcodemediumarraybit-manipulation
leetcodemediumxorbit-manipulation
Mar 30, 2026
[Medium] 1870. Minimum Speed to Arrive on Time
leetcodemediumbinary-search
leetcodemediumbinary-searchmath
Mar 29, 2026
[Medium] 1188. Design Bounded Blocking Queue
leetcodemediumconcurrencydesign
leetcodemediumthreadingsemaphorequeue
Mar 28, 2026
[Medium] 1115. Print FooBar Alternately
leetcodemediumconcurrencythreading
leetcodemediumthreadingsemaphorecondition-variable
Mar 27, 2026
[Medium] 151. Reverse Words in a String
leetcodemediumstringtwo-pointers
leetcodemediumstringdequetwo-pointers
Mar 27, 2026
[Easy] 389. Find the Difference
leetcodeeasystringbit-manipulationhash-table
leetcodeeasystringxorfrequency
Mar 27, 2026
[Easy] 1768. Merge Strings Alternately
leetcodeeasystringtwo-pointers
leetcodeeasystringtwo-pointers
Mar 26, 2026
[Medium] 1087. Brace Expansion
leetcodemediumbacktrackingstring
leetcodemediumbacktrackingdfsstring-parsing
Mar 25, 2026
[Medium] 918. Maximum Sum Circular Subarray
leetcodemediumarraykadane
leetcodemediumarraydynamic-programmingkadane
Mar 24, 2026
[Medium] 341. Flatten Nested List Iterator
leetcodemediumstackiteratordesign
leetcodemediumstackiteratornested-list
Mar 23, 2026
[Medium] 931. Minimum Falling Path Sum
leetcodemediumdpmatrix
leetcodemediumdynamic-programmingmatrix
Mar 22, 2026
[Medium] 134. Gas Station
leetcodemediumgreedyarray
leetcodemediumgreedyprefix-sum
Mar 21, 2026
[Medium] 713. Subarray Product Less Than K
leetcodemediumarraysliding-window
leetcodemediumarraysliding-windowtwo-pointers
Mar 20, 2026
[Medium] 309. Best Time to Buy and Sell Stock with Cooldown
leetcodemediumdpstock
leetcodemediumdynamic-programmingcooldown
Mar 19, 2026
[Medium] 362. Design Hit Counter
leetcodemediumdesignqueuesliding-window
leetcodemediumdesigndequesliding-window
Mar 18, 2026
[Medium] 1448. Count Good Nodes in Binary Tree
leetcodemediumtreedfsbfs
leetcodemediumtreedfsbfs
Mar 17, 2026
[Medium] 1376. Time Needed to Inform All Employees
leetcodemediumtreegraphdfsbfs
leetcodemediumtreegraphdfsbfs
Mar 16, 2026
[Medium] 2406. Divide Intervals Into Minimum Number of Groups
leetcodemediumintervalheapsweep-line
leetcodemediumintervalsheapsweep-line
Mar 15, 2026
[Medium] 433. Minimum Genetic Mutation
leetcodemediumgraphbfs
leetcodemediumbfsshortest-pathstring
Mar 14, 2026
[Medium] 365. Water and Jug Problem
leetcodemediummathnumber-theory
leetcodemediumgcdbezout
Mar 12, 2026
[Medium] 841. Keys and Rooms
leetcodemediumgraphdfsbfs
leetcodemediumgraphreachabilitystackqueue
Mar 12, 2026
[Medium] 797. All Paths From Source to Target
leetcodemediumgraphdfsbacktracking
leetcodemediumgraphdfsbacktracking
Mar 11, 2026
[Medium] 1091. Shortest Path in Binary Matrix
leetcodemediumgraphbfs
leetcodemediumgridbfsshortest-path
Mar 10, 2026
[Medium] 1319. Number of Operations to Make Network Connected
leetcodemediumgraphunion-find
leetcodemediumgraphdsuconnected-components
Mar 10, 2026
[Easy] 876. Middle of the Linked List
leetcodeeasylinked-listtwo-pointers
leetcodeeasylinked-listfast-slow
Mar 9, 2026
[Medium] 1202. Smallest String With Swaps
leetcodemediumstringunion-findgraph
leetcodemediumstringdsuconnected-components
Mar 8, 2026
[Medium] 1584. Min Cost to Connect All Points
leetcodemediumgraphmstunion-find
leetcodemediumgraphkruskaldsumanhattan
Mar 7, 2026
[Medium] 249. Group Shifted Strings
leetcodemediumstringhash-table
leetcodemediumstringgroupingshift
Mar 7, 2026
[Easy] 383. Ransom Note
leetcodeeasystringhash-table
leetcodeeasystringcounting
Mar 7, 2026
[Easy] 242. Valid Anagram
leetcodeeasystringhash-table
leetcodeeasystringanagramcounting
Mar 7, 2026
[Easy] 219. Contains Duplicate II
leetcodeeasyarrayhash-tablesliding-window
leetcodeeasyarraysetsliding-window
Mar 7, 2026
[Easy] 217. Contains Duplicate
leetcodeeasyarrayhash-table
leetcodeeasyarrayset
Mar 6, 2026
[Medium] 113. Path Sum II
leetcodemediumtreedfs
leetcodemediumtreepath-sumbacktracking
Mar 6, 2026
[Easy] 94. Binary Tree Inorder Traversal
leetcodeeasytreedfs
leetcodeeasytreeinorderstack
Mar 6, 2026
[Easy] 543. Diameter of Binary Tree
leetcodeeasytreedfs
leetcodeeasytreediameterheight
Mar 6, 2026
[Easy] 145. Binary Tree Postorder Traversal
leetcodeeasytreedfs
leetcodeeasytreepostorderstack
Mar 6, 2026
[Easy] 144. Binary Tree Preorder Traversal
leetcodeeasytreedfs
leetcodeeasytreepreorderstack
Mar 6, 2026
[Easy] 112. Path Sum
leetcodeeasytreedfs
leetcodeeasytreepath-sumdfs
Mar 6, 2026
[Easy] 110. Balanced Binary Tree
leetcodeeasytreedfs
leetcodeeasytreeheightbalance
Mar 5, 2026
[Medium] 78. Subsets
leetcodemediumbacktrackingdfs
leetcodemediumbacktrackingdfsrecursion
Mar 4, 2026
[Medium] 523. Continuous Subarray Sum
leetcodemediumarrayprefix-sumhash-map
leetcodemediumarrayprefix-sumhash-mapmath
Mar 3, 2026
[Medium] 208. Implement Trie (Prefix Tree)
leetcodemediumtriedata-structure
leetcodemediumtrieprefix-treedesign
Mar 3, 2026
[Medium] 1804. Implement Trie II (Prefix Tree)
leetcodemediumtriedata-structure
leetcodemediumtrieprefix-treedesign
Mar 3, 2026
[Medium] 1344. Angle Between Hands of a Clock
leetcodemediummathgeometry
leetcodemediummathgeometrysimulation
Mar 3, 2026
[Easy] 1275. Find Winner on a Tic Tac Toe Game
leetcodeeasyarraysimulation
leetcodeeasyarraysimulationgame
Mar 2, 2026
[Medium] 621. Task Scheduler
leetcodemediumgreedycounting
leetcodemediumarraygreedycountingscheduling
Mar 2, 2026
[Hard] 358. Rearrange String k Distance Apart
leetcodehardstringheapgreedy
leetcodehardstringheapgreedyscheduling
Mar 1, 2026
[Medium] 80. Remove Duplicates from Sorted Array II
leetcodemediumarraytwo-pointers
leetcodemediumarraytwo-pointersin-place
Feb 28, 2026
[Medium] 61. Rotate List
leetcodemediumlinked-listpython
leetcodemediumlinked-listtwo-pointers
Feb 27, 2026
[Medium] 187. Repeated DNA Sequences
leetcodemediumstringhashingsliding-windowbit-manipulation
leetcodemediumstringhashingsliding-windowbit-manipulation
Feb 18, 2026
[Medium] 59. Spiral Matrix II
leetcodemediummatrixsimulation
leetcodemediummatrixsimulationspiral
Feb 17, 2026
[Medium] 43. Multiply Strings
leetcodemediumstringmathsimulation
leetcodemediumstringmathbig-integersimulation
Feb 17, 2026
[Hard] 42. Trapping Rain Water
leetcodehardtwo-pointersstackdp
leetcodehardtwo-pointersmonotonic-stackprefix-suffixdp
Feb 16, 2026
[Medium] 38. Count and Say
leetcodemediumstringsimulation
leetcodemediumstringsimulationrun-length-encoding
Feb 15, 2026
[Hard] 23. Merge k Sorted Lists
leetcodehardlinked-listdivide-and-conquerheap
leetcodehardlinked-listdivide-and-conquerheapmerge
Feb 15, 2026
[Easy] 893. Groups of Special-Equivalent Strings
leetcodeeasystringhash
leetcodeeasystringhashcanonical-form
Feb 14, 2026
[Medium] 36. Valid Sudoku
leetcodemediummathbit-manipulation
leetcodemediumbitmaskgridhash
Feb 14, 2026
[Medium] 29. Divide Two Integers
leetcodemediummathbit-manipulation
leetcodemediumbit-manipulationmath
Feb 12, 2026
[Medium] 1438. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
Problem
leetcodemediumsliding-windowmonotonic-queue
leetcodemediumsliding-windowmonotonic-queue
Feb 11, 2026
[Medium] 416. Partition Equal Subset Sum
leetcodemediumdynamic-programming
leetcodemediumdpknapsack
Feb 11, 2026
[Medium] 155. Min Stack
leetcodemediumstack
leetcodemediumstackdata-structure-design
Feb 10, 2026
[Medium] 3342. Find Minimum Time to Reach Last Room II
Problem Statement
leetcodemediumgraphshortest-pathdijkstragrid
leetcodemediumgraphshortest-pathdijkstragrid
Feb 10, 2026
[Medium] 3341. Find Minimum Time to Reach Last Room I
Problem Statement
leetcodemediumgraphshortest-pathdijkstragrid
leetcodemediumgraphshortest-pathdijkstragrid
Feb 9, 2026
[Medium] 91. Decode Ways
leetcodemediumdynamic-programming
leetcodemediumdynamic-programmingstring
Feb 9, 2026
[Hard] 1944. Number of Visible People in a Queue
leetcodehardstackmonotonic-stack
leetcodehardstackmonotonic-stack
Feb 8, 2026
[Medium] 3112. Minimum Time to Visit Disappearing Nodes
leetcodemediumgraphshortest-pathdijkstra
leetcodemediumgraphshortest-pathdijkstra
Feb 8, 2026
[Medium] 210. Course Schedule II
leetcodemediumgraphtopological-sort
leetcodemediumgraphtopological-sort
Feb 7, 2026
[Medium] 1488. Avoid Flood in The City
leetcodemediumarraygreedybinary-searchset
leetcodemediumarraygreedybinary-searchset
Feb 6, 2026
[Medium] 875. Koko Eating Bananas
leetcodemediumarraybinary-search
leetcodemediumarraybinary-search
Feb 6, 2026
[Medium] 532. K-diff Pairs in an Array
leetcodemediumarrayhash-table
leetcodemediumarrayhash-table
Feb 6, 2026
[Medium] 3439. Reschedule Meetings for Maximum Free Time I
leetcodemediumarrayintervalssliding-windowprefix-sum
leetcodemediumarrayintervalssliding-windowprefix-sum
Feb 6, 2026
[Easy] 252. Meeting Rooms
leetcodeeasyarraysortingintervals
leetcodeeasyarraysortingintervals
Feb 5, 2026
[Medium] 1109. Corporate Flight Bookings
leetcodemediumarrayprefix-sumdifference-array
leetcodemediumarrayprefix-sumdifference-array
Feb 4, 2026
[Medium] 787. Cheapest Flights Within K Stops
leetcodemediumgraphshortest-pathdynamic-programmingbellman-ford
leetcodemediumgraphshortest-pathdynamic-programmingbellman-ford
Feb 3, 2026
[Medium] 743. Network Delay Time
leetcodemediumgraphshortest-pathdijkstra
leetcodemediumgraphshortest-pathdijkstra
Feb 2, 2026
[Medium] 974. Subarray Sums Divisible by K
leetcodemediumarrayhash-tableprefix-sum
leetcodemediumarrayhash-tableprefix-sum
Feb 2, 2026
[Hard] 843. Guess the Word
leetcodehardarraystringinteractiveminmax
leetcodehardarraystringinteractiveminmax
Feb 1, 2026
[Medium] 560. Subarray Sum Equals K
leetcodemediumarrayhash-tableprefix-sum
leetcodemediumarrayhash-tableprefix-sum
Feb 1, 2026
[Medium] 325. Maximum Size Subarray Sum Equals k
leetcodemediumarrayhash-tableprefix-sum
leetcodemediumarrayhash-tableprefix-sum
Feb 1, 2026
[Hard] 44. Wildcard Matching
leetcodehardstringdynamic-programminggreedytwo-pointers
leetcodehardstringdynamic-programminggreedytwo-pointers
Jan 30, 2026
[Medium] 981. Time Based Key-Value Store
leetcodemediumhash-tablebinary-searchdesign
leetcodemediumhash-tablebinary-searchdesign
Jan 30, 2026
[Medium] 34. Find First and Last Position of Element in Sorted Array
leetcodemediumarraybinary-search
leetcodemediumarraybinary-search
Jan 30, 2026
[Medium] 162. Find Peak Element
leetcodemediumarraybinary-search
leetcodemediumarraybinary-search
Jan 30, 2026
[Easy] 35. Search Insert Position
leetcodeeasyarraybinary-search
leetcodeeasyarraybinary-search
Jan 29, 2026
[Medium] 739. Daily Temperatures
leetcodemediumarraystackmonotonic-stack
leetcodemediumarraystackmonotonic-stack
Jan 28, 2026
[Medium] 2080. Range Frequency Queries
leetcodemediumarrayhash-mapbinary-searchdesign
leetcodemediumarrayhash-mapbinary-searchdesign
Jan 27, 2026
[Medium] 238. Product of Array Except Self
leetcodemediumarrayprefix-sumtwo-pointers
leetcodemediumarrayprefix-sumtwo-pointers
Jan 27, 2026
[Hard] 1136. Parallel Courses
leetcodehardgraphtopological-sortdfsdynamic-programming
leetcodehardgraphtopological-sortdfsdynamic-programmingmemoization
Jan 26, 2026
[Medium] 209. Minimum Size Subarray Sum
leetcodemediumarraysliding-windowbinary-searchprefix-sum
leetcodemediumarraysliding-windowbinary-searchprefix-sumtwo-pointers
Jan 26, 2026
[Hard] 862. Shortest Subarray with Sum at Least K
leetcodehardarraysliding-windowdequeprefix-summonotonic-deque
leetcodehardarraysliding-windowdequeprefix-summonotonic-deque
Jan 26, 2026
[Easy] 27. Remove Element
leetcodeeasyarraytwo-pointers
leetcodeeasyarraytwo-pointersin-place
Jan 25, 2026
[Medium] 354. Russian Doll Envelopes
leetcodemediumarraydynamic-programmingbinary-searchsorting
leetcodemediumarraydynamic-programmingbinary-searchsortinglongest-increasing-subsequence
Jan 25, 2026
[Medium] 213. House Robber II
leetcodemediumarraydynamic-programming
leetcodemediumarraydynamic-programmingdpcircular-array
Jan 24, 2026
[Medium] 622. Design Circular Queue
leetcodemediumarraylinked-listdesignqueue
leetcodemediumarraylinked-listdesignqueuecircular-queuedata-structure
Jan 23, 2026
[Medium] 1233. Remove Sub-Folders from the Filesystem
leetcodemediumarraystringtriesorting
leetcodemediumarraystringtriesortingprefix-matching
Jan 22, 2026
[Medium] 1801. Number of Orders in the Backlog
leetcodemediumarrayheappriority-queuesimulation
leetcodemediumarrayheappriority-queuesimulationgreedy
Jan 21, 2026
[Medium] 63. Unique Paths II
leetcodemediumarraydynamic-programmingmatrix
leetcodemediumarraydynamic-programmingmatrixgridobstacles
Jan 20, 2026
[Medium] 498. Diagonal Traverse
leetcodemediumarraymatrixsimulation
leetcodemediumarraymatrixsimulation
Jan 20, 2026
[Medium] 189. Rotate Array
leetcodemediumarray
leetcodemediumarrayrotationtwo-pointers
Jan 20, 2026
Minimal, copy-paste C++ for binary search, rotated arrays, 2D search, and answer-space search. Matches Data Structures lower/upper bound style.
leetcodetemplatessearchbinary-search
leetcodetemplatessearchbinary-searchdivide-and-conquer
Jan 20, 2026
[Hard] 327. Count of Range Sum
leetcodehardarraydivide-and-conquer
leetcodehardarraydivide-and-conquermerge-sortsegment-treeprefix-sum
Jan 19, 2026
[Medium] 236. Lowest Common Ancestor of a Binary Tree
leetcodemediumtreedfs
leetcodemediumtreedfsrecursionlca
Jan 19, 2026
[Medium] 211. Design Add and Search Words Data Structure
leetcodemediumstringdesigntrie
leetcodemediumstringdesigntriewildcard-searchdfs
Jan 19, 2026
[Medium] 1701. Average Waiting Time
leetcodemediumarraysimulation
leetcodemediumarraysimulationgreedy
Jan 19, 2026
[Easy] 645. Set Mismatch
leetcodeeasyarrayhash-tablemath
leetcodeeasyarrayhash-tablemathbit-manipulationnegative-marking
Jan 19, 2026
[Easy] 409. Longest Palindrome
leetcodeeasystringhash-tablegreedy
leetcodeeasystringhash-tablegreedybit-manipulationpalindrome
Jan 19, 2026
[Easy] 387. First Unique Character in a String
leetcodeeasystringhash-table
leetcodeeasystringhash-tablebit-manipulationfrequency-counting
Jan 19, 2026
[Easy] 349. Intersection of Two Arrays
leetcodeeasyarrayhash-table
leetcodeeasyarrayhash-tabletwo-pointerssorting
Jan 19, 2026
[Easy] 226. Invert Binary Tree
leetcodeeasytreedfs
leetcodeeasytreedfsrecursion
Jan 19, 2026
[Easy] 2185. Counting Words With a Given Prefix
leetcodeeasystringarray
leetcodeeasystringarrayprefixsimulation
Jan 19, 2026
[Easy] 1624. Largest Substring Between Two Equal Characters
leetcodeeasystringhash-table
leetcodeeasystringhash-tablesubstringtwo-pointers
Jan 19, 2026
[Easy] 112. Path Sum
leetcodeeasytreedfs
leetcodeeasytreedfsrecursionbacktracking
Jan 19, 2026
[Easy] 111. Minimum Depth of Binary Tree
leetcodeeasytreedfs
leetcodeeasytreedfsbfsrecursion
Jan 19, 2026
[Easy] 104. Maximum Depth of Binary Tree
leetcodeeasytreedfs
leetcodeeasytreedfsbfsrecursion
Jan 19, 2026
[Easy] 101. Symmetric Tree
leetcodeeasytreedfs
leetcodeeasytreedfsrecursion
Jan 19, 2026
[Easy] 100. Same Tree
leetcodeeasytreedfs
leetcodeeasytreedfsrecursion
Jan 19, 2026
[Medium] 211. Design Add and Search Words Data Structure
leetcodemediumstringdesigntrie
leetcodemediumstringdesigntriewildcard-searchdfs
Jan 19, 2026
[Easy] 409. Longest Palindrome
leetcodeeasystringhash-tablegreedy
leetcodeeasystringhash-tablegreedybit-manipulationpalindrome
Jan 18, 2026
[Medium] 208. Implement Trie (Prefix Tree)
leetcodemediumstringdesigntrie
leetcodemediumstringdesigntrieprefix-treedata-structure
Jan 18, 2026
[Hard] 732. My Calendar III
leetcodehardarraybinary-searchdesignsegment-treeordered-set
leetcodehardarraybinary-searchdesignsegment-treelazy-propagationsweep-linedifference-array
Jan 18, 2026
[Easy] 3110. Score of a String
leetcodeeasystringarray
leetcodeeasystringarraysimulationascii
Jan 17, 2026
[Medium] 729. My Calendar I
leetcodemediumarraybinary-searchdesignordered-set
leetcodemediumarraybinary-searchdesignordered-setintervaloverlap-detection
Jan 17, 2026
[Hard] 315. Count of Smaller Numbers After Self
leetcodehardarraybinary-searchdivide-and-conquerbinary-indexed-treesegment-treemerge-sort
leetcodehardarrayfenwick-treebinary-indexed-treecoordinate-compressioninversion-count
Jan 16, 2026
[Medium] 3477. Number of Unplaced Fruits
leetcodemediumarraygreedysegment-tree
leetcodemediumarraygreedysegment-treedata-structure
Jan 16, 2026
[Medium] 307. Range Sum Query - Mutable
leetcodemediumarraysegment-treebinary-indexed-tree
leetcodemediumarraysegment-treebinary-indexed-treedata-structure
Jan 16, 2026
[Hard] 305. Number of Islands II
leetcodehardarrayunion-findgraph
leetcodehardarrayunion-finddisjoint-setincrementaldynamic
Jan 15, 2026
[Medium] 802. Find Eventual Safe States
leetcodemediumgraphdfscycle-detection
leetcodemediumgraphdfscycle-detectionthree-state-coloring
Jan 15, 2026
[Hard] 315. Count of Smaller Numbers After Self
leetcodehardarraybinary-searchdivide-and-conquerbinary-indexed-treesegment-treemerge-sort
leetcodehardarrayfenwick-treebinary-indexed-treecoordinate-compressioninversion-count
Jan 14, 2026
[Medium] LCR 113. Course Schedule II
leetcodemediumgraphtopological-sortdfs
leetcodemediumgraphtopological-sortdfscycle-detection
Jan 14, 2026
[Medium] 310. Minimum Height Trees
leetcodemediumgraphtreetopological-sortbfs
leetcodemediumgraphtreetopological-sortbfspeeling-leaves
Jan 14, 2026
[Hard] 269. Alien Dictionary
leetcodehardgraphtopological-sortstring
leetcodehardgraphtopological-sortstringbfskahn
Jan 13, 2026
[Medium] 1670. Design Front Middle Back Queue
leetcodemediumdesigndequedata-structure
leetcodemediumdesigndequedata-structuretwo-deques
Jan 12, 2026
[Medium] 79. Word Search
leetcodemediumarraybacktrackingmatrixdfs
leetcodemediumarraybacktrackingmatrixdfsrecursion
Jan 12, 2026
[Medium] 22. Generate Parentheses
leetcodemediumstringbacktrackingrecursion
leetcodemediumstringbacktrackingrecursiondfs
Jan 12, 2026
[Hard] 51. N-Queens
leetcodehardarraybacktrackingrecursion
leetcodehardarraybacktrackingrecursionconstraint-satisfaction
Jan 12, 2026
[Easy] 844. Backspace String Compare
leetcodeeasystringtwo-pointersstack
leetcodeeasystringtwo-pointersstacksimulation
Jan 11, 2026
[Medium] 721. Accounts Merge
leetcodemediumarrayhash-tablestringunion-finddfs
leetcodemediumarrayhash-tablestringunion-finddisjoint-setdfs
Jan 10, 2026
[Medium] 64. Minimum Path Sum
leetcodemediumarraydynamic-programmingmatrix
leetcodemediumarraydynamic-programmingmatrixgrid
Jan 10, 2026
[Hard] 1340. Jump Game V
leetcodehardarraydynamic-programmingdfsmemoization
leetcodehardarraydynamic-programmingdfsmemoizationrecursion
Jan 9, 2026
[Medium] 673. Number of Longest Increasing Subsequence
leetcodemediumarraydynamic-programming
leetcodemediumarraydynamic-programminglongest-increasing-subsequence
Jan 8, 2026
[Medium] 692. Top K Frequent Words
leetcodemediumhash-tableheapsortingstring
leetcodemediumhash-tableheapsortingstringpriority-queue
Jan 8, 2026
[Medium] 5. Longest Palindromic Substring
leetcodemediumstringtwo-pointersdynamic-programming
leetcodemediumstringtwo-pointerspalindromeexpand-around-centermanacher
Jan 7, 2026
[Medium] 429. N-ary Tree Level Order Traversal
leetcodemediumtreebfsn-ary-tree
leetcodemediumtreebfslevel-order-traversaln-ary-tree
Jan 7, 2026
[Medium] 323. Number of Connected Components in an Undirected Graph
leetcodemediumgraphbfsdfsunion-find
leetcodemediumgraphbfsconnected-componentsundirected-graph
Jan 7, 2026
[Medium] 102. Binary Tree Level Order Traversal
leetcodemediumtreebfsbinary-tree
leetcodemediumtreebfslevel-order-traversalbinary-tree
Jan 7, 2026
[Easy] 993. Cousins in Binary Tree
leetcodeeasytreebfsbinary-tree
leetcodeeasytreebfsbinary-treelevel-order-traversal
Jan 6, 2026
[Medium] 103. Binary Tree Zigzag Level Order Traversal
leetcodemediumtreebfsbinary-tree
leetcodemediumtreebfslevel-order-traversaldequebinary-tree
Jan 5, 2026
[Medium] 215. Kth Largest Element in an Array
leetcodemediumarrayheapquickselectdivide-and-conquer
leetcodemediumarrayheappriority-queuequickselectdivide-and-conquersorting
Jan 5, 2026
Minimal, copy-paste C++ for min/max heap, K-way merge, top K, and two heaps. See also Data Structures for heap patterns.
leetcodetemplatesheappriority-queue
leetcodetemplatesheappriority-queuedata-structures
Jan 4, 2026
[Medium] 53. Maximum Subarray
leetcodemediumarraydynamic-programminggreedydivide-and-conquer
Jan 4, 2026
[Medium] 376. Wiggle Subsequence
leetcodemediumarraydynamic-programminggreedy
Jan 4, 2026
[Medium] 1605. Find Valid Matrix Given Row and Column Sums
leetcodemediumarraymatrixgreedy
Jan 4, 2026
[Medium] 1400. Construct K Palindrome Strings
leetcodemediumstringgreedyhash-table
Jan 4, 2026
[Medium] 1247. Minimum Swaps to Make Strings Equal
leetcodemediumstringmathgreedy
Jan 4, 2026
[Medium] 1029. Two City Scheduling
leetcodemediumarraygreedysorting
Jan 4, 2026
[Hard] 135. Candy
leetcodehardarraygreedy
Jan 4, 2026
[Easy] 1710. Maximum Units on a Truck
leetcodeeasyarraygreedysorting
Jan 4, 2026
[Easy] 1217. Minimum Cost to Move Chips to The Same Position
leetcodeeasyarraymathgreedy
Jan 3, 2026
[Easy] 561. Array Partition
leetcodeeasyarraygreedysorting
Jan 3, 2026
[Medium] 122. Best Time to Buy and Sell Stock II
leetcodemediumarraygreedydynamic-programming
Jan 3, 2026
[Easy] 392. Is Subsequence
leetcodeeasystringtwo-pointersgreedydynamic-programming
Jan 3, 2026
[Medium] 55. Jump Game
leetcodemediumarraygreedydynamic-programming
Jan 3, 2026
[Medium] 452. Minimum Number of Arrows to Burst Balloons
leetcodemediumarraygreedysortingintervals
Jan 3, 2026
[Medium] 435. Non-overlapping Intervals
leetcodemediumarraygreedysortingintervalsdynamic-programming
Jan 3, 2026
[Easy] 860. Lemonade Change
leetcodeeasyarraygreedysimulation
Jan 3, 2026
[Easy] 455. Assign Cookies
leetcodeeasyarraygreedysortingtwo-pointers
Jan 2, 2026
[Medium] 351. Android Unlock Patterns
leetcodemediumbacktrackingrecursiondynamic-programming
Jan 1, 2026
[Medium] 1177. Can Make Palindrome from Substring
leetcodemediumstringbit-manipulationprefix-sumhash-table
Jan 1, 2026
[Easy] 303. Range Sum Query - Immutable
leetcodeeasyarraydesignprefix-sum
Jan 1, 2026
[Medium] 393. UTF-8 Validation
leetcodemediumbit-manipulationstringarray
Jan 1, 2026
[Hard] 308. Range Sum Query 2D - Mutable
leetcodeharddesigndata-structuresprefix-summatrix
Jan 1, 2026
[Hard] 568. Maximum Vacation Days
leetcodeharddynamic-programminggraphoptimization
Jan 1, 2026
[Medium] 418. Sentence Screen Fitting
leetcodemediumdynamic-programmingstringsimulation
Jan 1, 2026
[Easy] 496. Next Greater Element I
leetcodeeasyarraystackmonotonic-stackhash-table
Jan 1, 2026
[Medium] 360. Sort Transformed Array
leetcodemediumarraytwo-pointersmathparabola
Dec 31, 2025
[Hard] 715. Range Module
leetcodeharddesigndata-structuresintervalmaptree-map
Dec 31, 2025
[Hard] 425. Word Squares
leetcodehardbacktrackingtrierecursionstring
Dec 31, 2025
[Easy] 270. Closest Binary Search Tree Value
leetcodeeasybinary-search-treetreerecursionbinary-search
Dec 31, 2025
[Hard] 685. Redundant Connection II
leetcodehardunion-finddsugraphcycle-detectiondirected-graph
Dec 31, 2025
[Medium] 285. Inorder Successor in BST
leetcodemediumbinary-search-treetreeinorder-traversal
Dec 31, 2025
[Medium] 487. Max Consecutive Ones II
leetcodemediumarraydynamic-programmingsliding-window
Dec 31, 2025
[Easy] 661. Image Smoother
leetcodeeasymatrixarraysimulation
Dec 31, 2025
[Medium] 616. Add Bold Tag in String
leetcodemediumstringarraygreedy
Dec 30, 2025
[Medium] 681. Next Closest Time
leetcodemediumstringsimulationbrute-force
Dec 30, 2025
[Medium] 683. K Empty Slots
leetcodemediumsliding-windowtwo-pointersarray
Dec 30, 2025
[Medium] 686. Repeated String Match
leetcodemediumstring-matchingkmprabin-karprolling-hash
Dec 29, 2025
[Medium] 684. Redundant Connection
leetcodemediumunion-finddsugraphcycle-detectiondfs
Dec 28, 2025
[Medium] 1976. Number of Ways to Arrive at Destination
leetcodemediumdijkstrashortest-pathgraphdynamic-programming
Dec 18, 2025
[Medium] 547. Number of Provinces
leetcodealgorithmmediumcppdisjoint-setdfsgraphproblem-solving
Dec 17, 2025
[Medium] 399. Evaluate Division
leetcodealgorithmmediumcppdisjoint-setgraphdfsproblem-solving
Dec 16, 2025
[Medium] 690. Employee Importance
leetcodealgorithmmediumcppdfsbfshash-tableproblem-solving
Dec 16, 2025
[Hard] 850. Rectangle Area II
leetcodealgorithmhardcppgeometrysweep-linesegment-treeproblem-solving
Dec 14, 2025
[Medium] 286. Walls and Gates
leetcodealgorithmmediumcpparraymatrixbfsproblem-solving
Dec 14, 2025
[Medium] 279. Perfect Squares
leetcodealgorithmmediumcppmathdynamic-programmingbfsproblem-solving
Dec 14, 2025
Minimal, copy-paste C++ for interval scheduling, activity selection, and greedy on arrays/strings with sorting.
leetcodetemplatesgreedy
leetcodetemplatesgreedyalgorithms
Dec 14, 2025
[Easy] 346. Moving Average from Data Stream
leetcodealgorithmeasycppqueuesliding-windowdesignproblem-solving
Dec 13, 2025
[Medium] 994. Rotting Oranges
leetcodealgorithmmediumcpparraymatrixbfsproblem-solving
Dec 11, 2025
[Medium] 253. Meeting Rooms II
leetcodealgorithmmediumcpparraysortingpriority-queuetwo-pointersproblem-solving
Dec 11, 2025
[Easy] 67. Add Binary
leetcodealgorithmeasycppstringmathbit-manipulationproblem-solving
Dec 10, 2025
[Medium] 281. Zigzag Iterator
leetcodealgorithmmediumcppdesigniteratorproblem-solving
Dec 3, 2025
[Hard] 1206. Design Skiplist
leetcodealgorithmhardcppdata-structuresskiplistlinked-listproblem-solving
Dec 2, 2025
[Medium] 75. Sort Colors
leetcodealgorithmmediumcpparraytwo-pointerssortingproblem-solving
Dec 2, 2025
[Medium] 593. Valid Square
leetcodealgorithmmediumcppmathgeometryproblem-solving
Dec 2, 2025
[Medium] 146. LRU Cache
leetcodealgorithmmediumcppdesigndata-structureshash-maplinked-listproblem-solving
Dec 2, 2025
[Medium] 146. LRU Cache
leetcodealgorithmmediumcppdesigndata-structureshash-maplinked-listproblem-solving
Nov 24, 2025
[Medium] Round Trip Ticket Cost Minimization
algorithmmediumcpparrayoptimizationproblem-solving
algorithmmediumarrayoptimizationgreedytwo-pointers
Nov 24, 2025
[Medium] 983. Minimum Cost For Tickets
leetcodealgorithmmediumcppdynamic-programmingproblem-solving
leetcodemediumdynamic-programmingdpoptimization
Nov 24, 2025
[Medium] 647. Palindromic Substrings
leetcodealgorithmmediumcppstringtwo-pointersproblem-solving
leetcodemediumstringtwo-pointerspalindromeexpand-around-center
Nov 24, 2025
[Medium] 56. Merge Intervals
leetcodealgorithmmediumcpparraysortingintervalproblem-solving
leetcodemediumarraysortingintervalsmerge
Nov 24, 2025
[Medium] 528. Random Pick with Weight
leetcodealgorithmmediumcppdesignbinary-searchprefix-sumproblem-solving
leetcodemediumdesignbinary-searchprefix-sumweighted-random
Nov 24, 2025
[Medium] 398. Random Pick Index
leetcodealgorithmmediumcpphash-tablereservoir-samplingproblem-solving
leetcodemediumhash-tablereservoir-samplingdesignrandomization
Nov 24, 2025
[Medium] 277. Find the Celebrity
leetcodealgorithmmediumcppgraphtwo-pointersproblem-solving
leetcodemediumgraphtwo-pointerscelebrity
Nov 24, 2025
[Medium] 1762. Buildings With an Ocean View
leetcodealgorithmmediumcpparraystackmonotonic-stackproblem-solving
leetcodemediumarraystackmonotonic-stackgreedytwo-pointers
Nov 24, 2025
[Medium] 129. Sum Root to Leaf Numbers
leetcodealgorithmmediumcpptreedfsproblem-solving
leetcodemediumtreedfsrecursionbinary-tree
Nov 24, 2025
[Medium] 1209. Remove All Adjacent Duplicates in String II
leetcodealgorithmmediumcppstringstacktwo-pointersproblem-solving
leetcodemediumstringstacktwo-pointersin-place
Nov 24, 2025
[Hard] 489. Robot Room Cleaner
leetcodealgorithmhardcppdfsbacktrackingproblem-solving
leetcodeharddfsbacktrackingrobotsimulation
Nov 24, 2025
[Hard] 32. Longest Valid Parentheses
leetcodealgorithmhardcppstringdynamic-programmingstackproblem-solving
leetcodehardstringdynamic-programmingstacktwo-pointersgreedy
Nov 24, 2025
[Easy] 938. Range Sum of BST
leetcodealgorithmeasycpptreebstdfsproblem-solving
leetcodeeasytreebstdfsrecursion
Nov 24, 2025
[Easy] 408. Valid Word Abbreviation
leetcodealgorithmeasycppstringtwo-pointersproblem-solving
leetcodeeasystringtwo-pointersparsing
Nov 24, 2025
[Easy] 1047. Remove All Adjacent Duplicates In String
leetcodealgorithmeasycppstringstacktwo-pointersproblem-solving
leetcodeeasystringstacktwo-pointersin-place
Nov 24, 2025
Minimal, copy-paste Python for sliding window, two pointers, string matching, manipulation, and parsing. See also Arrays & Strings for KMP and rolling hash.
leetcodetemplatesstring
leetcodetemplatesstringalgorithms
Nov 24, 2025
Minimal, copy-paste Python for BFS queue, monotonic queue, priority queue, circular queue, and deque. See also Graph and Data Structures (monotonic queue).
leetcodetemplatesqueue
leetcodetemplatesqueuedata-structures
Nov 24, 2025
Minimal, copy-paste Python for bit operations, fast exponentiation, GCD/LCM, primes, and number theory. See also Math & Geometry.
leetcodetemplatesmathbit-manipulation
leetcodetemplatesmathbit-manipulation
Nov 24, 2025
Minimal, copy-paste Python for traversal, two pointers, dummy node, reversal, merge, cycle detection, and circular list.
leetcodetemplateslinked-list
leetcodetemplateslinked-list
Nov 24, 2025
Minimal, copy-paste Python for graph DFS, grid DFS, tree DFS, memoization, and iterative DFS. See also Graph and Backtracking.
leetcodetemplatesdfsgraph
leetcodetemplatesdfsgraphtraversal
Nov 24, 2025
Minimal, copy-paste Python for LRU/LFU cache, Trie, time-based key-value store, and common design patterns.
leetcodetemplatesdesign
leetcodetemplatesdesigndata-structures
Nov 24, 2025
Minimal, copy-paste C++ for graph and grid BFS, multi-source BFS, shortest path, and level-order traversal. See also Graph for Dijkstra and 0-1 BFS.
leetcodetemplatesbfsgraph
leetcodetemplatesbfsgraphtraversal
Nov 24, 2025
Minimal, copy-paste Python for permutations, combinations, subsets, combination sum, grid pathfinding, and constraint satisfaction (N-Queens, Sudoku).
leetcodetemplatesbacktracking
leetcodetemplatesbacktrackingdfs
Nov 24, 2025
Minimal, copy-paste C++ for two pointers, sliding window, prefix sum, binary search, and matrix operations. See also Arrays & Strings and Search.
leetcodetemplatesarraymatrix
leetcodetemplatesarraymatrix
Nov 20, 2025
[Medium] 200. Number of Islands
leetcodealgorithmmediumcppdfsgraphmatrixproblem-solving
leetcodemediumdfsgraphmatrixconnected-components
Nov 18, 2025
[Medium] 969. Pancake Sorting
leetcodealgorithmmediumcpparraysortingproblem-solving
leetcodemediumarraysortinggreedypancake-flip
Nov 18, 2025
[Medium] 49. Group Anagrams
leetcodealgorithmmediumcppstringhash-tableproblem-solving
leetcodemediumstringhash-tableanagramcounting
Nov 18, 2025
[Medium] 45. Jump Game II
leetcodealgorithmmediumcpparraygreedyproblem-solving
leetcodemediumarraygreedybfsoptimization
Nov 18, 2025
[Medium] 2. Add Two Numbers
leetcodealgorithmmediumcpplinked-listrecursionproblem-solving
leetcodemediumlinked-listrecursionmathcarry
Nov 18, 2025
[Medium] 198. House Robber
leetcodealgorithmmediumcppdynamic-programmingdpproblem-solving
leetcodemediumdynamic-programmingdparrayoptimization
Nov 18, 2025
[Easy] 509. Fibonacci Number
leetcodealgorithmeasycppdynamic-programmingrecursionproblem-solving
leetcodeeasydynamic-programmingrecursionmathfibonacci
Nov 18, 2025
[Easy] 203. Remove Linked List Elements
leetcodealgorithmeasycpplinked-listiterationproblem-solving
leetcodeeasylinked-listtwo-pointersdummy-node
Nov 17, 2025
[Medium] 1424. Diagonal Traverse II
leetcodealgorithmmediumcpparraymatrixhash-mapbfsproblem-solving
Nov 16, 2025
[Easy] 206. Reverse Linked List
leetcodealgorithmeasycpplinked-listrecursioniterationproblem-solving
Nov 15, 2025
[Medium] 146. LRU Cache
leetcodealgorithmmediumcppdesigndata-structureshash-maplinked-listproblem-solving
Nov 14, 2025
[Medium] 93. Restore IP Addresses
leetcodealgorithmmediumcppbacktrackingstringproblem-solving
Nov 14, 2025
[Hard] 460. LFU Cache
leetcodealgorithmhardcppdesigndata-structureshash-maplinked-listproblem-solving
Nov 14, 2025
Minimal, copy-paste C++ for parentheses matching, expression evaluation, nested structures, and monotonic stack.
leetcodetemplatesstackdata-structures
leetcodetemplatesstackdata-structures
Nov 14, 2025
Minimal, copy-paste C++ for expression evaluation with +, −, ×, ÷ and parentheses. See also Stack for RPN and nested expressions.
leetcodetemplatescalculatorexpression-evaluation
leetcodetemplatescalculatorexpression-evaluationstack
Nov 14, 2025
[Medium] 224. Basic Calculator
leetcodealgorithmmediumcppstringstackexpression-evaluationproblem-solving
leetcodemediumstringstackcalculatorexpression-evaluationparentheses
Nov 14, 2025
[Hard] 772. Basic Calculator III
leetcodealgorithmhardcppstringstackrecursionexpression-evaluationproblem-solving
leetcodehardstringstackcalculatorrecursionexpression-evaluationparentheses
Nov 14, 2025
[Medium] 227. Basic Calculator II
leetcodealgorithmmediumcppstringstackexpression-evaluationproblem-solving
leetcodemediumstringstackcalculatorexpression-evaluation
Nov 5, 2025
[Medium] 324. Wiggle Sort II
leetcodealgorithmmediumcpparraysnth-elementthree-way-partitionindex-mappingproblem-solving
leetcodemediumarraywigglenth_elementpartition
Nov 5, 2025
[Medium] 921. Minimum Add to Make Parentheses Valid
leetcodealgorithmmediumcppstringstackgreedyproblem-solving
leetcodemediumstringstackparenthesesgreedycounting
Nov 5, 2025
[Easy] 20. Valid Parentheses
leetcodealgorithmeasycppstringstackproblem-solving
leetcodeeasystringstackparenthesesvalidation
Nov 5, 2025
[Medium] 525. Contiguous Array
leetcodealgorithmmediumcpparrayshash-mapprefix-sumproblem-solving
leetcodemediumarrayhash-mapprefix-sumsubarray
Nov 5, 2025
[Hard] 480. Sliding Window Median
leetcodealgorithmhardcpparraysmultisetsliding-windowtwo-heapsproblem-solving
leetcodehardarraymultisetsliding-windowtwo-heapsmedian
Nov 5, 2025
[Hard] 239. Sliding Window Maximum
leetcodealgorithmhardcpparraysdequesliding-windowmonotonic-queueproblem-solving
leetcodehardarraydequesliding-windowmonotonic-queue
Nov 5, 2025
[Easy] 485. Max Consecutive Ones
leetcodealgorithmeasycpparrayssliding-windowproblem-solving
leetcodeeasyarraysliding-windowcounting
Nov 5, 2025
[Medium] 18. 4Sum
leetcodealgorithmmediumcpparraystwo-pointerssortingproblem-solving
Oct 29, 2025
Contents
leetcodetemplatestrees
leetcodetemplatestrees
Oct 29, 2025
Contents
leetcodetemplatesmathgeometry
leetcodetemplatesmathgeometry
Oct 29, 2025
Contents
leetcodetemplatesgraph
leetcodetemplatesgraph
Oct 29, 2025
Contents
leetcodetemplatesdynamic-programming
leetcodetemplatesdp
Oct 29, 2025
Contents
leetcodetemplatesdata-structures
leetcodetemplatesdata-structures
Oct 29, 2025
Contents
leetcodetemplatesarraysstrings
leetcodetemplatesarraysstrings
Oct 29, 2025
Contents
leetcodetemplatesadvanced
leetcodetemplatesadvanced
Oct 29, 2025
LeetCode Categories and Solution Templates
leetcodealgorithmproblem-solvingtemplates
leetcodetemplatespatternsdpgraphsliding-windowtwo-pointersbinary-search
Oct 29, 2025
[Easy] LC 717: 1-bit and 2-bit Characters
leetcodeeasyarrayparsing
leetcodeeasyarrayparsing
Oct 29, 2025
[Easy] LC 344: Reverse String
leetcodeeasytwo-pointersstring
leetcodeeasytwo-pointersstring
Oct 28, 2025
[Medium] LC 708: Insert into a Sorted Circular Linked List
leetcodemediumlinked-listcircular
leetcodemediumlinked-listcircularinsertiontwo-pointers
Oct 28, 2025
[Medium] LC 636: Exclusive Time of Functions
leetcodemediumstackparsing
leetcodemediumstackparsinglogssimulation
Oct 25, 2025
[Medium] LC 863: All Nodes Distance K in Binary Tree
leetcodemediumtreedfsbfs
leetcodemediumtreebinary-treedfsbfsgraphrecursion
Oct 22, 2025
[Medium] LC 1249: Minimum Remove to Make Valid Parentheses
leetcodemediumstringstack
leetcodemediumstringstackparenthesesvalidation
Oct 22, 2025
[Medium] LC 1094: Car Pooling
leetcodemediumarraysorting
leetcodemediumarraysortingsimulationbucket-sort
Oct 22, 2025
[Medium] LC 426: Convert Binary Search Tree to Sorted Doubly Linked List
leetcodemediumtreelinked-list
leetcodemediumtreelinked-listbstinorder-traversalrecursion
Oct 22, 2025
[Medium] LC 348: Design Tic-Tac-Toe
leetcodemediumdesignarray
leetcodemediumdesignarraymatrixoptimization
Oct 22, 2025
[Medium] LC 419: Battleships in a Board
leetcodemediumarraymatrix
leetcodemediumarraymatrixdfsbattleship
Oct 21, 2025
[Medium] LC 545: Boundary of Binary Tree
leetcodemediumtreedfs
leetcodemediumtreedfsbinary-treeboundary-traversal
Oct 21, 2025
[Medium] LC 347: Top K Frequent Elements
leetcodemediumarrayhash-tableheap
leetcodemediumarrayhash-tableheapbucket-sortquickselect
Oct 21, 2025
[Medium] LC 973: K Closest Points to Origin
leetcodemediumarraysorting
leetcodemediumarraysortingheapquickselect
Oct 21, 2025
[Easy] LC 1207: Unique Number of Occurrences
leetcodeeasyarrayhash-table
leetcodeeasyarrayhash-tablecounting
Oct 20, 2025
[Medium] 207. Course Schedule
leetcodemediumgraphtopological-sortcycle-detection
Oct 20, 2025
[Medium] 133. Clone Graph
leetcodemediumgraphdfsbfsclone
Oct 20, 2025
[Medium] 752. Open the Lock
leetcodemediumbfsshortest-pathlock
Oct 20, 2025
[Medium] 314. Binary Tree Vertical Order Traversal
leetcodemediumtreebfsvertical-order
Oct 20, 2025
[Medium] 322. Coin Change
leetcodemediumdynamic-programmingdpcoin-change
Oct 20, 2025
[Medium] 47. Permutations II
leetcodealgorithmmediumbacktrackingrecursionduplicates
Oct 20, 2025
[Medium] 77. Combinations
leetcodemediumbacktrackingrecursioncombinations
Oct 20, 2025
[Medium] 46. Permutations
leetcodealgorithmmediumbacktrackingrecursion
Oct 20, 2025
[Medium] 1650. Lowest Common Ancestor of a Binary Tree III
leetcodealgorithmmediumtreebinary-treelca
Oct 20, 2025
[Medium] 2043. Simple Bank System
leetcodealgorithmmediumdesigndata-structure
Oct 20, 2025
[Medium] 1443. Minimum Time to Collect All Apples in a Tree
leetcodealgorithmmediumtreedfsbfsgraph
Oct 20, 2025
[Hard] 84. Largest Rectangle in Histogram
leetcodealgorithmhardstackmonotonic-stack
Oct 20, 2025
[Medium] 695. Max Area of Island
leetcodealgorithmmediumdfsgraphmatrix
Oct 20, 2025
[Medium] 1868. Product of Two Run-Length Encoded Arrays
leetcodealgorithmmediumrun-length-encodingtwo-pointersarray-processing
Oct 20, 2025
[Medium] 1570. Dot Product of Two Sparse Vectors
pythonhash-mapdata-structureoptimizationproblem-solving
Oct 20, 2025
[Medium] 1865. Finding Pairs With a Certain Sum
pythonhash-mapdata-structureproblem-solving
Oct 20, 2025
[Medium] 437. Path Sum III
pythontreedfsrecursionproblem-solving
Oct 20, 2025
[Medium] 394. Decode String
pythonstackstring-processingproblem-solving
Oct 19, 2025
[Medium] 417. Pacific Atlantic Water Flow
pythondfsbfsgraphproblem-solving
Oct 19, 2025
[Medium] 406. Queue Reconstruction by Height
pythongreedysortinglistproblem-solving
Oct 18, 2025
[Medium] 1856. Maximum Sum of Minimum Product
pythonstackmonotonic-stackprefix-sumproblem-solving
Oct 18, 2025
[Medium] 316. Remove Duplicate Letters
pythonstackmonotonic-stackgreedyproblem-solving
Oct 17, 2025
[Medium] 648. Replace Words
pythontriehash-setstring-processingproblem-solving
Oct 17, 2025
[Medium] 300. Longest Increasing Subsequence
pythondynamic-programmingdpbinary-searchproblem-solving
Oct 17, 2025
[Medium] 503. Next Greater Element II
pythonmonotonic-stackstackproblem-solving
Oct 17, 2025
[Medium] 2799. Count Complete Subarrays in an Array
pythonsliding-windowhash-mapproblem-solving
Oct 17, 2025
[Medium] 2466. Count Ways To Build Good Strings
pythondynamic-programmingdpproblem-solving
Oct 16, 2025
[Medium] 1124. Longest Well-Performing Interval
pythonhash-mapprefix-sumproblem-solving
Oct 15, 2025
[Medium] 494. Target Sum
pythondynamic-programmingdpsubset-sumproblem-solving
Oct 10, 2025
[Medium] 3. Longest Substring Without Repeating Characters
leetcodealgorithmmediumpythonsliding-windowhash-mapstringtwo-pointersproblem-solving
Oct 8, 2025
[Medium] 240. Search a 2D Matrix II
pythonbinary-searchmatrix2d-arraydivide-conquersearchoptimizationproblem-solving
Oct 6, 2025
[Medium] 912. Sort an Array
pythonsortingmerge-sortheap-sortcounting-sortdata-structuresdivide-conquerproblem-solving
Oct 5, 2025
[Hard] 218. The Skyline Problem
pythonsweep-linepriority-queuedata-structuresunion-findproblem-solving
Oct 4, 2025
[Medium] 990. Satisfiability of Equality Equations
pythonconnected-componentsgraph-coloringdisjoint-setproblem-solving
Oct 3, 2025
[Medium] 96. Unique Binary Search Trees
pythonbinary-search-treesproblem-solving
Sep 30, 2025
[Medium] 131. Palindrome Partitioning
pythonpartitioningproblem-solving
Sep 29, 2025
[Medium] 77. Combinations
pythoncombinationsdfsproblem-solving
Sep 25, 2025
[Medium] 89. Gray Code
pythongray-codeproblem-solving
Sep 25, 2025
[Medium] 54. Spiral Matrix
pythonspiral-matrixproblem-solving
Sep 25, 2025
[Medium] 50. Pow(x, n)
pythonpowproblem-solving
Sep 24, 2025
[Medium] 62. Unique Paths
pythonunique-pathsproblem-solving
Sep 24, 2025
[Hard] 25. Reverse Nodes in k-Group
pythonreverse-nodesk-grouprecursionproblem-solving
Sep 24, 2025
[Medium] 48. Rotate Image
pythonrotate-imagein-placeproblem-solving
Sep 24, 2025
[Medium] 150. Evaluate Reverse Polish Notation
pythonreverse-polish-notationrpnproblem-solving
Sep 24, 2025
[Hard] 317. Shortest Distance from All Buildings
pythonshortest-distancebuildingsproblem-solving
Sep 24, 2025
[Medium] 1242. Web Crawler Multithreaded
pythonweb-crawlerconcurrent-programmingproblem-solving
Sep 24, 2025
[Medium] 794. Valid Tic-Tac-Toe State
pythontic-tac-toegame-validationproblem-solving
Sep 24, 2025
Meta‑Style LeetCode Question List
leetcodealgorithmmetainterview-preparationpractice-listfaangcoding-interviewproblem-solvingcompetitive-programmingdata-structures
Sep 24, 2025
🧩 Hash Table Mastery List
leetcodealgorithmhashdata-structuresinterview-preparationpractice-listhash-tablehash-mapproblem-solvingcompetitive-programming
Sep 24, 2025
LeetCode Linked List Mastery List
leetcodealgorithmlinked-listdata-structuresinterview-preparationpractice-listproblem-solvingcompetitive-programmingpointerstraversal
Sep 24, 2025
[Medium] 24. Swap Nodes in Pairs
pythonswap-nodesrecursioniterativeproblem-solving
Sep 23, 2025
📚 Python Quick Reference for LeetCode
pythondata-structuresreferencecheat-sheetprogrammingcontainersalgorithmscompetitive-programming
Sep 23, 2025
[Medium] 33. Search in Rotated Sorted Array
pythonrotated-arraysearchproblem-solving