归档
2025
- 1092. Shortest Common Supersequence
- 2353. Design a Food Rating System
- 873. Length of Longest Fibonacci Subsequence
- 2296. Design a Text Editor
- 1524. Number of Sub-arrays With Odd Sum
- 1749. Maximum Absolute Sum of Any Subarray
- 1472. Design Browser History
- 2502. Design Memory Allocator
- 2467. Most Profitable Path in a Tree
- 1656. Design an Ordered Stream
- 889. Construct Binary Tree from Preorder and Postorder Traversal
- 1028. Recover a Tree From Preorder Traversal
- 2506. Count Pairs Of Similar Strings
- 1261. Find Elements in a Contaminated Binary Tree
- 2209. Minimum White Tiles After Covering With Carpets
- 1980. Find Unique Binary String
- 2595. Number of Even and Odd Bits
- 2944. Minimum Number of Coins for Fruits
- 1415. The k-th Lexicographical String of All Happy Strings of Length n
- 624. Maximum Distance in Arrays
- 2375. Construct Smallest Number From DI String
- 2080. Range Frequency Queries
- 1079. Letter Tile Possibilities
- 1287. Element Appearing More Than 25% In Sorted Array
- 1718. Construct the Lexicographically Largest Valid Sequence
- 1299. Replace Elements with Greatest Element on Right Side
- 2698. Find the Punishment Number of an Integer
- 1706. Where Will the Ball Fall
- 1352. Product of the Last K Numbers
- 1552. Magnetic Force Between Two Balls
- 1742. Maximum Number of Balls in a Box
- 2342. Max Sum of a Pair With Equal Sum of Digits
- 1728. Cat and Mouse II
- 1910. Remove All Occurrences of a Substring
- 3174. Clear Digits
- 2364. Count Number of Bad Pairs
- 80. Remove Duplicates from Sorted Array II
- 26. Remove Duplicates from Sorted Array
- 2349. Design a Number Container System
- 63. Unique Paths II
- 3160. Find the Number of Distinct Colors Among the Balls
- 59. Spiral Matrix II
- 47. Permutations II
- 1726. Tuple with Same Product
- 46. Permutations
- 1790. Check if One String Swap Can Make Strings Equal
- 90. Subsets II
- 78. Subsets
- 1800. Maximum Ascending Subarray Sum
- 922. Sort Array By Parity II
- 905. Sort Array By Parity
- 3105. Longest Strictly Increasing or Strictly Decreasing Subarray
- 680. Valid Palindrome II
- 1752. Check if Array Is Sorted and Rotated
- 598. Range Addition II
- 81. Search in Rotated Sorted Array II
- 827. Making A Large Island
- 541. Reverse String II
- 344. Reverse String
- 350. Intersection of Two Arrays II
- 349. Intersection of Two Arrays
- 219. Contains Duplicate II
- 118. Pascal’s Triangle
- 2658. Maximum Number of Fish in a Grid
- 119. Pascal's Triangle II
- 1462. Course Schedule IV
- 45. Jump Game II
- 2948. Make Lexicographically Smallest Array by Swapping Elements
- 2412. Minimum Money Required Before Transactions
- 2920. Maximum Points After Collecting Coins From All Nodes
- 1267. Count Servers that Communicate
- 1561. Maximum Number of Coins You Can Get
- 2017. Grid Game
- 2218. Maximum Value of K Coins From Piles
- 2661. First Completely Painted Row or Column
- 2239. Find Closest Number to Zero
- 42. Trapping Rain Water
- 2266. Count Number of Texts
- 1368. Minimum Cost to Make at Least One Valid Path in a Grid
- 3097. Shortest Subarray With OR at Least K II
- 2683. Neighboring Bitwise XOR
- 2425. Bitwise XOR of All Pairings
- 3095. Shortest Subarray With OR at Least K I
- 2429. Minimize XOR
- 3066. Minimum Operations to Exceed Threshold Value II
- 2657. Find the Prefix Common Array of Two Arrays
- 3065. Minimum Operations to Exceed Threshold Value I
- 3414. Maximum Score of Non-overlapping Intervals
- 3223. Minimum Length of String After Operations
- 2116. Check if a Parentheses String Can Be Valid
- 2275. Largest Combination With Bitwise AND Greater Than Zero
- 1400. Construct K Palindrome Strings
- 3270. Find the Key of the Numbers
- 916. Word Subsets
- 2185. Counting Words With a Given Prefix
- 3298. Count Substrings That Can Be Rearranged to Contain a String II
- 3297. Count Substrings That Can Be Rearranged to Contain a String I
- 3410. Maximize Subarray Sum After Removing All Occurrences of One Element
- 3045. Count Prefix and Suffix Pairs II
- 3042. Count Prefix and Suffix Pairs I
- 2264. Largest 3-Same-Digit Number in String
- 1408. String Matching in an Array
- 3019. Number of Changing Keys
- 1186. Maximum Subarray Sum with One Deletion
- 1769. Minimum Number of Operations to Move All Balls to Each Box
- 2274. Maximum Consecutive Floors Without Special Floors
- 2381. Shifting Letters II
- 848. Shifting Letters
- 2241. Design an ATM Machine
- 3395. Subsequences with a Unique Middle Mode I
- 3399. Smallest Substring With Identical Characters II
- 3398. Smallest Substring With Identical Characters I
- 1930. Unique Length-3 Palindromic Subsequences
- 3405. Count the Number of Arrays with K Matching Adjacent Elements
- 628. Maximum Product of Three Numbers
- 674. Longest Continuous Increasing Subsequence
- 1128. Number of Equivalent Domino Pairs
- 1260. Shift 2D Grid
- 1374. Generate a String With Characters That Have Odd Counts
- 1437. Check If All 1's Are at Least Length K Places Away
- 2270. Number of Ways to Split Array
- 292. Nim Game
- 171. Excel Sheet Column Number
- 168. Excel Sheet Column Title
- 816. Ambiguous Coordinates
- 436. Find Right Interval
- 732. My Calendar III
- 731. My Calendar II
- 581. Shortest Unsorted Continuous Subarray
- 2559. Count Vowel Strings in Ranges
- 729. My Calendar I
- 985. Sum of Even Numbers After Queries
- 767. Reorganize String
- 1765. Map of Highest Peak
- 542. 01 Matrix
- 1029. Two City Scheduling
- 1072. Flip Columns For Maximum Number of Equal Rows
- 382. Linked List Random Node
- 221. Maximal Square
- 1422. Maximum Score After Splitting a String
- 3280. Convert Date to Binary
2024
- 164. Maximum Gap
- 730. Count Different Palindromic Subsequences
- 983. Minimum Cost For Tickets
- 913. Cat and Mouse
- 321. Create Maximum Number
- 2466. Count Ways To Build Good Strings
- 1367. Linked List in Binary Tree
- 843. Guess the Word
- 1639. Number of Ways to Form a Target String Given a Dictionary
- 1366. Rank Teams by Votes
- 1206. Design Skiplist
- 1250. Check If It Is a Good Array
- 1298. Maximum Candies You Can Get from Boxes
- 689. Maximum Sum of 3 Non-Overlapping Subarrays
- 3046. Split the Array
- 2493. Divide Nodes Into the Maximum Number of Groups
- 785. Is Graph Bipartite?
- 1014. Best Sightseeing Pair
- 3159. Find Occurrences of an Element in an Array
- 494. Target Sum
- 3083. Existence of a Substring in a String and Its Reverse
- 515. Find Largest Value in Each Tree Row
- 3219. Minimum Cost for Cutting Cake II
- 3218. Minimum Cost for Cutting Cake I
- 2360. Longest Cycle in a Graph
- 2608. Shortest Cycle in a Graph
- 3203. Find Minimum Diameter After Merging Two Trees
- 1705. Maximum Number of Eaten Apples
- 2127. Maximum Employees to Be Invited to a Meeting
- 721. Accounts Merge
- 685. Redundant Connection II
- 2471. Minimum Number of Operations to Sort a Binary Tree by Level
- 855. Exam Room
- 684. Redundant Connection
- 1591. Strange Printer II
- 2940. Find Building Where Alice and Bob Can Meet
- 664. Strange Printer
- 1387. Sort Integers by The Power Value
- 1610. Maximum Number of Visible Points
- 145. Binary Tree Postorder Traversal
- 2872. Maximum Number of K-Divisible Components
- 95. Unique Binary Search Trees II
- 2545. Sort the Students by Their Kth Score
- 96. Unique Binary Search Trees
- 89. Gray Code
- 72. Edit Distance
- 50. Pow(x, n)
- 770. Basic Calculator IV
- 227. Basic Calculator II
- 224. Basic Calculator
- 2415. Reverse Odd Levels of Binary Tree
- 3138. Minimum Length of Anagram Concatenation
- 337. House Robber III
- 43. Multiply Strings
- 3389. Minimum Operations to Make Character Frequencies Equal
- 769. Max Chunks To Make Sorted
- 3285. Find Indices of Stable Mountains
- 714. Best Time to Buy and Sell Stock with Transaction Fee
- 309. Best Time to Buy and Sell Stock with Cooldown
- 188. Best Time to Buy and Sell Stock IV
- 739. Daily Temperatures
- 503. Next Greater Element II
- 496. Next Greater Element I
- 1475. Final Prices With a Special Discount in a Shop
- 3213. Construct String with Minimum Cost
- 3292. Minimum Number of Valid Strings to Form Target II
- 3291. Minimum Number of Valid Strings to Form Target I
- 2182. Construct String With Repeat Limit
- 1847. Closest Room
- 123. Best Time to Buy and Sell Stock III
- 122. Best Time to Buy and Sell Stock II
- 1792. Maximum Average Pass Ratio
- 1338. Reduce Array Size to The Half
- 2809. Minimum Time to Make Array Sum At Most x
- 2762. Continuous Subarrays
- 3266. Final Array State After K Multiplication Operations II
- 2593. Find Score of an Array After Marking All Elements
- 3264. Final Array State After K Multiplication Operations I
- 2558. Take Gifts From the Richest Pile
- 2931. Maximum Spending After Buying Items
- 2699. Modify Graph Edge Weights
- 2779. Maximum Beauty of an Array After Applying Operation
- 2717. Semi-Ordered Permutation
- 1719. Number Of Ways To Reconstruct A Tree
- 2982. Find Longest Special Substring That Occurs Thrice II
- 2981. Find Longest Special Substring That Occurs Thrice I
- 935. Knight Dialer
- 1982. Find Array Given Subset Sums
- 954. Array of Doubled Pairs
- 2. Add Two Numbers
- 3152. Special Array II
- 3151. Special Array I
- 1812. Determine Color of a Chessboard Square
- 2054. Two Best Non-Overlapping Events
- 782. Transform to Chessboard
- 1760. Minimum Limit of Balls in a Bag
- 688. Knight Probability in Chessboard
- 2554. Maximum Number of Integers to Choose From a Range I
- 999. Available Captures for Rook
- 2337. Move Pieces to Obtain a String
- 3001. Minimum Moves to Capture The Queen
- 2056. Number of Valid Move Combinations On Chessboard
- 2825. Make String a Subsequence Using Cyclic Increments
- 2109. Adding Spaces to a String
- 3274. Check if Two Chessboard Squares Have the Same Color
- 1455. Check If a Word Occurs As a Prefix of Any Word in a Sentence
- 52. N-Queens II
- 1531. String Compression II
- 1346. Check If N and Its Double Exist
- 51. N-Queens
- 2097. Valid Arrangement of Pairs
- 3232. Find if Digit Game Can Be Won
- 2577. Minimum Time to Visit a Cell In a Grid
- 3251. Find the Count of Monotonic Pairs II
- 3250. Find the Count of Monotonic Pairs I
- 2290. Minimum Obstacle Removal to Reach Corner
- 443. String Compression
- 796. Rotate String
- 2490. Circular Sentence
- 1957. Delete Characters to Make Fancy String
- 3254. Find the Power of K-Size Subarrays I
- 3255. Find the Power of K-Size Subarrays II
- 3222. Find the Winning Player in Coin Game
- 633. Sum of Square Numbers
- 3208. Alternating Groups II
- 638. Shopping Offers
- 3226. Number of Bit Changes to Make Two Integers Equal
- 3259. Maximum Energy Boost From Two Drinks
- 2924. Find Champion II
- 2923. Find Champion I
- 125. Valid Palindrome
- 3206. Alternating Groups I
- 124. Binary Tree Maximum Path Sum
- 121. Best Time to Buy and Sell Stock
- 371. Sum of Two Integers
- 242. Valid Anagram
- 743. Network Delay Time
- 238. Product of Array Except Self
- 235. Lowest Common Ancestor of a Binary Search Tree
- 377. Combination Sum IV
- 105. Construct Binary Tree from Preorder and Inorder Traversal
- 632. Smallest Range Covering Elements from K Lists
- 104. Maximum Depth of Binary Tree
- 230. Kth Smallest Element in a BST
- 102. Binary Tree Level Order Traversal
- 1143. Longest Common Subsequence
- 100. Same Tree
- 226. Invert Binary Tree
- 98. Validate Binary Search Tree
- 347. Top K Frequent Elements
- 91. Decode Ways
- 217. Contains Duplicate
- 213. House Robber II
- 3238. Find the Number of Winning Players
- 212. Word Search II
- 211. Design Add and Search Words Data Structure
- 338. Counting Bits
- 208. Implement Trie (Prefix Tree)
- 207. Course Schedule
- 3233. Find the Count of Numbers Which Are Not Special
- 79. Word Search
- 206. Reverse Linked List
- 76. Minimum Window Substring
- 73. Set Matrix Zeroes
- 200. Number of Islands
- 3248. Snake in Matrix
- 70. Climbing Stairs
- 198. House Robber
- 3244. Shortest Distance After Road Addition Queries II
- 322. Coin Change
- 191. Number of 1 Bits
- 190. Reverse Bits
- 3243. Shortest Distance After Road Addition Queries I
- 62. Unique Paths
- 572. Subtree of Another Tree
- 57. Insert Interval
- 56. Merge Intervals
- 55. Jump Game
- 54. Spiral Matrix
- 53. Maximum Subarray
- 661. Image Smoother
- 435. Non-overlapping Intervals
- 49. Group Anagrams
- 48. Rotate Image
- 825. Friends Of Appropriate Ages
- 300. Longest Increasing Subsequence
- 297. Serialize and Deserialize Binary Tree
- 424. Longest Repeating Character Replacement
- 295. Find Median from Data Stream
- 3240. Minimum Number of Flips to Make Binary Grid Palindromic II
- 417. Pacific Atlantic Water Flow
- 33. Search in Rotated Sorted Array
- 153. Find Minimum in Rotated Sorted Array
- 3239. Minimum Number of Flips to Make Binary Grid Palindromic I
- 152. Maximum Product Subarray
- 23. Merge k Sorted Lists
- 21. Merge Two Sorted Lists
- 20. Valid Parentheses
- 19. Remove Nth Node From End of List
- 143. Reorder List
- 3249. Count the Number of Good Nodes
- 3261. Count Substrings That Satisfy K-Constraint II
- 15. 3Sum
- 268. Missing Number
- 141. Linked List Cycle
- 3258. Count Substrings That Satisfy K-Constraint I
- 139. Word Break
- 1547. Minimum Cost to Cut a Stick
- 11. Container With Most Water
- 647. Palindromic Substrings
- 133. Clone Graph
- 5. Longest Palindromic Substring
- 540. Single Element in a Sorted Array
- 3. Longest Substring Without Repeating Characters
- 3242. Design Neighbor Sum Service
- 1. Two Sum
- 128. Longest Consecutive Sequence
- 3235. Check if the Rectangle Corner Is Reachable