All Solutions
- № 1. Two Sum
- № 2. Add Two Numbers
- № 3. Longest Substring Without Repeating Characters
- № 4. Median of Two Sorted Arrays
- № 5. Longest Palindromic Substring
- № 6. Zigzag Conversion
- № 7. Reverse Integer
- № 8. String to Integer (atoi)
- № 9. Palindrome Number
- № 11. Container With Most Water
- № 12. Integer to Roman
- № 13. Roman to Integer
- № 14. Longest Common Prefix
- № 15. 3Sum
- № 16. 3Sum Closest
- № 17. Letter Combinations of a Phone Number
- № 19. Remove Nth Node From End of List
- № 20. Valid Parentheses
- № 21. Merge Two Sorted Lists
- № 22. Generate Parentheses
- № 23. Merge k Sorted Lists
- № 24. Swap Nodes in Pairs
- № 26. Remove Duplicates from Sorted Array
- № 27. Remove Element
- № 28. Find the Index of the First Occurrence in a String
- № 33. Search in Rotated Sorted Array
- № 34. Find First and Last Position of Element in Sorted Array
- № 35. Search Insert Position
- № 36. Valid Sudoku
- № 40. Combination Sum II
- № 41. First Missing Positive
- № 42. Trapping Rain Water
- № 49. Group Anagrams
- № 50. Pow
- № 54. Spiral Matrix
- № 57. Insert Interval
- № 58. Length of Last Word
- № 59. Spiral Matrix II
- № 62. Unique Paths
- № 67. Add Binary
- № 70. Climbing Stairs
- № 71. Simplify Path
- № 74. Search a 2D Matrix
- № 75. Sort Colors
- № 76. Minimum Window Substring
- № 77. Combinations
- № 78. Subsets
- № 79. Word Search
- № 85. Maximal Rectangle
- № 86. Partition List
- № 91. Decode Ways
- № 94. Binary Tree Inorder Traversal
- № 98. Validate Binary Search Tree
- № 100. Same Tree
- № 101. Symmetric Tree
- № 102. Binary Tree Level Order Traversal
- № 103. Binary Tree Zigzag Level Order Traversal
- № 104. Maximum Depth of Binary Tree
- № 109. Convert Sorted List to Binary Search Tree
- № 110. Balanced Binary Tree
- № 111. Minimum Depth of Binary Tree
- № 119. Pascal's Triangle II
- № 121. Best Time to Buy and Sell Stock
- № 125. Valid Palindrome
- № 128. Longest Consecutive Sequence
- № 129. Sum Root to Leaf Numbers
- № 131. Palindrome Partitioning
- № 137. Single Number II
- № 139. Word Break
- № 140. Word Break II
- № 141. Linked List Cycle
- № 142. Linked List Cycle II
- № 143. Reorder List
- № 145. Binary Tree Postorder Traversal
- № 146. LRU Cache
- № 150. Evaluate Reverse Polish Notation
- № 153. Find Minimum in Rotated Sorted Array
- № 155. Min Stack
- № 165. Compare Version Numbers
- № 167. Two Sum II - Input Array Is Sorted
- № 168. Excel Sheet Column Title
- № 169. Majority Element
- № 179. Largest Number
- № 190. Reverse Bits
- № 191. Number of 1 Bits
- № 198. House Robber
- № 199. Binary Tree Right Side View
- № 200. Number of Islands
- № 201. Bitwise AND of Numbers Range
- № 205. Isomorphic Strings
- № 206. Reverse Linked List
- № 208. Implement Trie (Prefix Tree)
- № 211. Design Add and Search Words Data Structure
- № 214. Shortest Palindrome
- № 215. Kth Largest Element in an Array
- № 217. Contains Duplicate
- № 225. Implement Stack using Queues
- № 226. Invert Binary Tree
- № 228. Summary Ranges
- № 229. Majority Element II
- № 231. Power of Two
- № 232. Implement Queue using Stacks
- № 234. Palindrome Linked List
- № 235. Lowest Common Ancestor of a Binary Search Tree
- № 237. Delete Node in a Linked List
- № 238. Product of Array Except Self
- № 239. Sliding Window Maximum
- № 241. Different Ways to Add Parentheses
- № 242. Valid Anagram
- № 258. Add Digits
- № 260. Single Number III
- № 264. Ugly Number II
- № 268. Missing Number
- № 273. Integer to English Words
- № 278. First Bad Version
- № 279. Perfect Squares
- № 287. Find the Duplicate Number
- № 299. Bulls and Cows
- № 300. Longest Increasing Subsequence
- № 310. Minimum Height Trees
- № 316. Remove Duplicate Letters
- № 319. Bulb Switcher
- № 330. Patching Array
- № 341. Flatten Nested List Iterator
- № 342. Power of Four
- № 343. Integer Break
- № 344. Reverse String
- № 347. Top K Frequent Elements
- № 349. Intersection of Two Arrays
- № 350. Intersection of Two Arrays II
- № 368. Largest Divisible Subset
- № 373. Find K Pairs with Smallest Sums
- № 380. Insert Delete GetRandom O(1)
- № 382. Linked List Random Node
- № 383. Ransom Note
- № 386. Lexicographical Numbers
- № 387. First Unique Character in a String
- № 392. Is Subsequence
- № 394. Decode String
- № 399. Evaluate Division
- № 402. Remove K Digits
- № 403. Frog Jump
- № 404. Sum of Left Leaves
- № 407. Trapping Rain Water II
- № 409. Longest Palindrome
- № 416. Partition Equal Subset Sum
- № 424. Longest Repeating Character Replacement
- № 432. All O`one Data Structure
- № 435. Non-overlapping Intervals
- № 438. Find All Anagrams in a String
- № 440. K-th Smallest in Lexicographical Order
- № 442. Find All Duplicates in an Array
- № 443. String Compression
- № 445. Add Two Numbers II
- № 446. Arithmetic Slices II - Subsequence
- № 451. Sort Characters By Frequency
- № 452. Minimum Number of Arrows to Burst Balloons
- № 455. Assign Cookies
- № 458. Poor Pigs
- № 459. Repeated Substring Pattern
- № 463. Island Perimeter
- № 476. Number Complement
- № 486. Predict the Winner
- № 494. Target Sum
- № 501. Find Mode in Binary Search Tree
- № 502. IPO
- № 506. Relative Ranks
- № 509. Fibonacci Number
- № 513. Find Bottom Left Tree Value
- № 514. Freedom Trail
- № 515. Find Largest Value in Each Tree Row
- № 516. Longest Palindromic Subsequence
- № 518. Coin Change II
- № 521. Longest Uncommon Subsequence I
- № 523. Continuous Subarray Sum
- № 525. Contiguous Array
- № 530. Minimum Absolute Difference in BST
- № 538. Convert BST to Greater Tree
- № 539. Minimum Time Difference
- № 540. Single Element in a Sorted Array
- № 543. Diameter of Binary Tree
- № 547. Number of Provinces
- № 552. Student Attendance Record II
- № 560. Subarray Sum Equals K
- № 564. Find the Closest Palindrome
- № 567. Permutation in String
- № 572. Subtree of Another Tree
- № 576. Out of Boundary Paths
- № 589. N-ary Tree Preorder Traversal
- № 590. N-ary Tree Postorder Traversal
- № 592. Fraction Addition and Subtraction
- № 605. Can Place Flowers
- № 606. Construct String from Binary Tree
- № 621. Task Scheduler
- № 623. Add One Row to Tree
- № 624. Maximum Distance in Arrays
- № 629. K Inverse Pairs Array
- № 632. Smallest Range Covering Elements from K Lists
- № 633. Sum of Square Numbers
- № 641. Design Circular Deque
- № 645. Set Mismatch
- № 647. Palindromic Substrings
- № 648. Replace Words
- № 649. Dota2 Senate
- № 650. 2 Keys Keyboard
- № 661. Image Smoother
- № 664. Strange Printer
- № 670. Maximum Swap
- № 678. Valid Parenthesis String
- № 684. Redundant Connection
- № 688. Knight Probability in Chessboard
- № 689. Maximum Sum of 3 Non-Overlapping Subarrays
- № 692. Top K Frequent Words
- № 703. Kth Largest Element in a Stream
- № 704. Binary Search
- № 705. Design HashSet
- № 706. Design HashMap
- № 712. Minimum ASCII Delete Sum for Two Strings
- № 713. Subarray Product Less Than K
- № 714. Best Time to Buy and Sell Stock with Transaction Fee
- № 719. Find K-th Smallest Pair Distance
- № 724. Find Pivot Index
- № 725. Split Linked List in Parts
- № 726. Number of Atoms
- № 729. My Calendar I
- № 731. My Calendar II
- № 733. Flood Fill
- № 735. Asteroid Collision
- № 739. Daily Temperatures
- № 744. Find Smallest Letter Greater Than Target
- № 746. Min Cost Climbing Stairs
- № 752. Open the Lock
- № 763. Partition Labels
- № 767. Reorganize String
- № 769. Max Chunks To Make Sorted
- № 773. Sliding Puzzle
- № 779. K-th Symbol in Grammar
- № 783. Minimum Distance Between BST Nodes
- № 786. K-th Smallest Prime Fraction
- № 787. Cheapest Flights Within K Stops
- № 791. Custom Sort String
- № 796. Rotate String
- № 802. Find Eventual Safe States
- № 808. Soup Servings
- № 815. Bus Routes
- № 823. Binary Trees With Factors
- № 826. Most Profit Assigning Work
- № 827. Making A Large Island
- № 834. Sum of Distances in Tree
- № 840. Magic Squares In Grid
- № 844. Backspace String Compare
- № 846. Hand of Straights
- № 852. Peak Index in a Mountain Array
- № 853. Car Fleet
- № 857. Minimum Cost to Hire K Workers
- № 859. Buddy Strings
- № 860. Lemonade Change
- № 861. Score After Flipping Matrix
- № 862. Shortest Subarray with Sum at Least K
- № 863. All Nodes Distance K in Binary Tree
- № 865. Smallest Subtree with all the Deepest Nodes
- № 867. Transpose Matrix
- № 872. Leaf-Similar Trees
- № 873. Length of Longest Fibonacci Subsequence
- № 874. Walking Robot Simulation
- № 875. Koko Eating Bananas
- № 876. Middle of the Linked List
- № 880. Decoded String at Index
- № 881. Boats to Save People
- № 884. Uncommon Words from Two Sentences
- № 885. Spiral Matrix III
- № 889. Construct Binary Tree from Preorder and Postorder Traversal
- № 907. Sum of Subarray Minimums
- № 912. Sort an Array
- № 916. Word Subsets
- № 920. Number of Music Playlists
- № 921. Minimum Add to Make Parentheses Valid
- № 930. Binary Subarrays With Sum
- № 931. Minimum Falling Path Sum
- № 934. Shortest Bridge
- № 935. Knight Dialer
- № 938. Range Sum of BST
- № 945. Minimum Increment to Make Array Unique
- № 946. Validate Stack Sequences
- № 947. Most Stones Removed with Same Row or Column
- № 948. Bag of Tokens
- № 950. Reveal Cards In Increasing Order
- № 951. Flip Equivalent Binary Trees
- № 956. Tallest Billboard
- № 958. Check Completeness of a Binary Tree
- № 959. Regions Cut By Slashes
- № 962. Maximum Width Ramp
- № 974. Subarray Sums Divisible by K
- № 977. Squares of a Sorted Array
- № 979. Distribute Coins in Binary Tree
- № 981. Time Based Key-Value Store
- № 983. Minimum Cost For Tickets
- № 988. Smallest String Starting From Leaf
- № 989. Add to Array-Form of Integer
- № 992. Subarrays with K Different Integers
- № 995. Minimum Number of K Consecutive Bit Flips
- № 997. Find the Town Judge
- № 1002. Find Common Characters
- № 1009. Complement of Base 10 Integer
- № 1014. Best Sightseeing Pair
- № 1020. Number of Enclaves
- № 1026. Maximum Difference Between Node and Ancestor
- № 1027. Longest Arithmetic Subsequence
- № 1028. Recover a Tree From Preorder Traversal
- № 1035. Uncrossed Lines
- № 1038. Binary Search Tree to Greater Sum Tree
- № 1043. Partition Array for Maximum Sum
- № 1046. Last Stone Weight
- № 1052. Grumpy Bookstore Owner
- № 1051. Height Checker
- № 1072. Flip Columns For Maximum Number of Equal Rows
- № 1074. Number of Submatrices That Sum to Target
- № 1079. Letter Tile Possibilities
- № 1091. Shortest Path in Binary Matrix
- № 1092. Shortest Common Supersequence
- № 1095. Find in Mountain Array
- № 1105. Filling Bookcase Shelves
- № 1106. Parsing A Boolean Expression
- № 1110. Delete Nodes And Return Forest
- № 1122. Relative Sort Array
- № 1123. Lowest Common Ancestor of Deepest Leaves
- № 1125. Smallest Sufficient Team
- № 1137. N-th Tribonacci Number
- № 1140. Stone Game II
- № 1143. Longest Common Subsequence
- № 1146. Snapshot Array
- № 1155. Number of Dice Rolls With Target Sum
- № 1160. Find Words That Can Be Formed by Characters
- № 1161. Maximum Level Sum of a Binary Tree
- № 1171. Remove Zero Sum Consecutive Nodes from Linked List
- № 1190. Reverse Substrings Between Each Pair of Parentheses
- № 1207. Unique Number of Occurrences
- № 1208. Get Equal Substrings Within Budget
- № 1218. Longest Arithmetic Subsequence of Given Difference
- № 1219. Path with Maximum Gold
- № 1220. Count Vowels Permutation
- № 1232. Check If It Is a Straight Line
- № 1233. Remove Sub-Folders from the Filesystem
- № 1235. Maximum Profit in Job Scheduling
- № 1239. Maximum Length of a Concatenated String with Unique Characters
- № 1248. Count Number of Nice Subarrays
- № 1249. Minimum Remove to Make Valid Parentheses
- № 1254. Number of Closed Islands
- № 1255. Maximum Score Words Formed by Letters
- № 1261. Find Elements in a Contaminated Binary Tree
- № 1266. Minimum Time Visiting All Points
- № 1267. Count Servers that Communicate
- № 1269. Number of Ways to Stay in the Same Place After Some Steps
- № 1277. Count Square Submatrices with All Ones
- № 1287. Element Appearing More Than 25% In Sorted Array
- № 1289. Minimum Falling Path Sum II
- № 1291. Sequential Digits
- № 1310. XOR Queries of a Subarray
- № 1312. Minimum Insertion Steps to Make a String Palindrome
- № 1318. Minimum Flips to Make a OR b Equal to c
- № 1325. Delete Leaves With a Given Value
- № 1331. Rank Transform of an Array
- № 1334. Find the City With the Smallest Number of Neighbors at a Threshold Distance
- № 1335. Minimum Difficulty of a Job Schedule
- № 1346. Check If N and Its Double Exist
- № 1347. Minimum Number of Steps to Make Two Strings Anagram
- № 1351. Count Negative Numbers in a Sorted Matrix
- № 1352. Product of the Last K Numbers
- № 1356. Sort Integers by The Number of 1 Bits
- № 1358. Number of Substrings Containing All Three Characters
- № 1361. Validate Binary Tree Nodes
- № 1367. Linked List in Binary Tree
- № 1368. Minimum Cost to Make at Least One Valid Path in a Grid
- № 1371. Find the Longest Substring Containing Vowels in Even Counts
- № 1372. Longest ZigZag Path in a Binary Tree
- № 1380. Lucky Numbers in a Matrix
- № 1381. Design a Stack With Increment Operation
- № 1382. Balance a Binary Search Tree
- № 1395. Count Number of Teams
- № 1396. Design Underground System
- № 1400. Construct K Palindrome Strings
- № 1404. Number of Steps to Reduce a Number in Binary Representation to One
- № 1405. Longest Happy String
- № 1415. The k-th Lexicographical String of All Happy Strings of Length n
- № 1420. Build Array Where You Can Find The Maximum Exactly K Comparisons
- № 1424. Diagonal Traverse II
- № 1425. Constrained Subsequence Sum
- № 1431. Kids With the Greatest Number of Candies
- № 1436. Destination City
- № 1422. Maximum Score After Splitting a String
- № 1438. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
- № 1441. Build an Array With Stack Operations
- № 1442. Count Triplets That Can Form Two Arrays of Equal XOR
- № 1448. Count Good Nodes in Binary Tree
- № 1455. Check If a Word Occurs As a Prefix of Any Word in a Sentence
- № 1456. Maximum Number of Vowels in a Substring of Given Length
- № 1457. Pseudo-Palindromic Paths in a Binary Tree
- № 1458. Max Dot Product of Two Subsequences
- № 1460. Make Two Arrays Equal by Reversing Subarrays
- № 1462. Course Schedule IV
- № 1463. Cherry Pickup II
- № 1464. Maximum Product of Two Elements in an Array
- № 1472. Design Browser History
- № 1475. Final Prices With a Special Discount in a Shop
- № 1480. Running Sum of 1d Array
- № 1481. Least Number of Unique Integers after K Removals
- № 1482. Minimum Number of Days to Make m Bouquets
- № 1491. Average Salary Excluding the Minimum and Maximum Salary
- № 1493. Longest Subarray of 1's After Deleting One Element
- № 1496. Path Crossing
- № 1497. Check If Array Pairs Are Divisible by k
- № 1498. Number of Subsequences That Satisfy the Given Sum Condition
- № 1502. Can Make Arithmetic Progression From Sequence
- № 1503. Last Moment Before All Ants Fall Out of a Plank
- № 1508. Range Sum of Sorted Subarray Sums
- № 1509. Minimum Difference Between Largest and Smallest Value in Three Moves
- № 1512. Number of Good Pairs
- № 1514. Path with Maximum Probability
- № 1518. Water Bottles
- № 1523. Count Odd Numbers in an Interval Range
- № 1524. Number of Sub-arrays With Odd Sum
- № 1530. Number of Good Leaf Nodes Pairs
- № 1531. String Compression II
- № 1535. Find the Winner of an Array Game
- № 1539. Kth Missing Positive Number
- № 1544. Make The String Great
- № 1545. Find Kth Bit in Nth Binary String
- № 1550. Three Consecutive Odds
- № 1552. Magnetic Force Between Two Balls
- № 1561. Maximum Number of Coins You Can Get
- № 1568. Minimum Number of Days to Disconnect Island
- № 1572. Matrix Diagonal Sum
- № 1574. Shortest Subarray to be Removed to Make Array Sorted
- № 1575. Count All Possible Routes
- № 1578. Minimum Time to Make Rope Colorful
- № 1579. Remove Max Number of Edges to Keep Graph Fully Traversable
- № 1582. Special Positions in a Binary Matrix
- № 1590. Make Sum Divisible by P
- № 1593. Split a String Into the Max Number of Unique Substrings
- № 1598. Crawler Log Folder
- № 1603. Design Parking System
- № 1605. Find Valid Matrix Given Row and Column Sums
- № 1608. Special Array With X Elements Greater Than or Equal X
- № 1639. Number of Ways to Form a Target String Given a Dictionary
- № 1609. Even Odd Tree
- № 1611. Minimum One Bit Operations to Make Integers Zero
- № 1614. Maximum Nesting Depth of the Parentheses
- № 1624. Largest Substring Between Two Equal Characters
- № 1630. Arithmetic Subarrays
- № 1636. Sort Array by Increasing Frequency
- № 1637. Widest Vertical Area Between Two Points Containing No Points
- № 1642. Furthest Building You Can Reach
- № 1652. Defuse the Bomb
- № 1653. Minimum Deletions to Make String Balanced
- № 1657. Determine if Two Strings Are Close
- № 1662. Check If Two String Arrays are Equivalent
- № 1669. Merge In Between Linked Lists
- № 1671. Minimum Number of Removals to Make Mountain Array
- № 1684. Count the Number of Consistent Strings
- № 1685. Sum of Absolute Differences in a Sorted Array
- № 1688. Count of Matches in Tournament
- № 1700. Number of Students Unable to Eat Lunch
- № 1701. Average Waiting Time
- № 1704. Determine if String Halves Are Alike
- № 1716. Calculate Money in Leetcode Bank
- № 1717. Maximum Score From Removing Substrings
- № 1718. Construct the Lexicographically Largest Valid Sequence
- № 1721. Swapping Nodes in a Linked List
- № 1726. Tuple with Same Product
- № 1727. Largest Submatrix With Rearrangements
- № 1732. Find the Highest Altitude
- № 1743. Restore the Array From Adjacent Pairs
- № 1749. Maximum Absolute Sum of Any Subarray
- № 1750. Minimum Length of String After Deleting Similar Ends
- № 1752. Check if Array Is Sorted and Rotated
- № 1758. Minimum Changes To Make Alternating Binary String
- № 1759. Count Number of Homogenous Substrings
- № 1760. Minimum Limit of Balls in a Bag
- № 1765. Map of Highest Peak
- № 1768. Merge Strings Alternately
- № 1769. Minimum Number of Operations to Move All Balls to Each Box
- № 1780. Check if Number is a Sum of Powers of Three
- № 1790. Check if One String Swap Can Make Strings Equal
- № 1791. Find Center of Star Graph
- № 1792. Maximum Average Pass Ratio
- № 1793. Maximum Score of a Good Subarray
- № 1799. Maximize Score After N Operations
- № 1800. Maximum Ascending Subarray Sum
- № 1802. Maximum Value at a Given Index in a Bounded Array
- № 1813. Sentence Similarity III
- № 1814. Count Nice Pairs in an Array
- № 1822. Sign of the Product of an Array
- № 1823. Find the Winner of the Circular Game
- № 1829. Maximum XOR for Each Query
- № 1838. Frequency of the Most Frequent Element
- № 1845. Seat Reservation Manager
- № 1846. Maximum Element After Decreasing and Rearranging
- № 1861. Rotating the Box
- № 1863. Sum of All Subset XOR Totals
- № 1870. Minimum Speed to Arrive on Time
- № 1877. Minimize Maximum Pair Sum in Array
- № 1887. Reduction Operations to Make the Array Elements Equal
- № 1894. Find the Student that Will Replace the Chalk
- № 1897. Redistribute Characters to Make All Strings Equal
- № 1903. Largest Odd Number in String
- № 1905. Count Sub Islands
- № 1910. Remove All Occurrences of a Substring
- № 1913. Maximum Product Difference Between Two Pairs
- № 1915. Number of Wonderful Substrings
- № 1921. Eliminate Maximum Number of Monsters
- № 1930. Unique Length-3 Palindromic Subsequences
- № 1937. Maximum Number of Points with Cost
- № 1942. The Number of the Smallest Unoccupied Chair
- № 1945. Sum of Digits of String After Convert
- № 1957. Delete Characters to Make Fancy String
- № 1963. Minimum Number of Swaps to Make the String Balanced
- № 1971. Find if Path Exists in Graph
- № 1975. Maximum Matrix Sum
- № 1976. Number of Ways to Arrive at Destination
- № 1980. Find Unique Binary String
- № 1992. Find All Groups of Farmland
- № 2000. Reverse Prefix of Word
- № 2009. Minimum Number of Operations to Make Array Continuous
- № 2017. Grid Game
- № 2022. Convert 1D Array Into 2D Array
- № 2024. Maximize the Confusion of an Exam
- № 2028. Find Missing Observations
- № 2033. Minimum Operations to Make a Uni-Value Grid
- № 2037. Minimum Number of Moves to Seat Everyone
- № 2044. Count Number of Maximum Bitwise-OR Subsets
- № 2045. Second Minimum Time to Reach Destination
- № 2050. Parallel Courses III
- № 2053. Kth Distinct String in an Array
- № 2054. Two Best Non-Overlapping Events
- № 2058. Find the Minimum and Maximum Number of Nodes Between Critical Points
- № 2064. Minimized Maximum of Products Distributed to Any Store
- № 2070. Most Beautiful Item for Each Query
- № 2073. Time Needed to Buy Tickets
- № 2090. K Radius Subarray Averages
- № 2092. Find All People With Secret
- № 2096. Step-By-Step Directions From a Binary Tree Node to Another
- № 2097. Valid Arrangement of Pairs
- № 2108. Find First Palindromic String in the Array
- № 2109. Adding Spaces to a String
- № 2115. Find All Possible Recipes from Given Supplies
- № 2116. Check if a Parentheses String Can Be Valid
- № 2125. Number of Laser Beams in a Bank
- № 2127. Maximum Employees to Be Invited to a Meeting
- № 2130. Maximum Twin Sum of a Linked List
- № 2134. Minimum Swaps to Group All 1's Together II
- № 2140. Solving Questions With Brainpower
- № 2147. Number of Ways to Divide a Long Corridor
- № 2149. Rearrange Array Elements by Sign
- № 2161. Partition Array According to Given Pivot
- № 2181. Merge Nodes in Between Zeros
- № 2182. Construct String With Repeat Limit
- № 2185. Counting Words With a Given Prefix
- № 2187. Minimum Time to Complete Trips
- № 2191. Sort the Jumbled Numbers
- № 2192. All Ancestors of a Node in a Directed Acyclic Graph
- № 2196. Create Binary Tree From Descriptions
- № 2206. Divide Array Into Equal Pairs
- № 2215. Find the Difference of Two Arrays
- № 2220. Minimum Bit Flips to Convert Number
- № 2225. Find Players With Zero or One Losses
- № 2226. Maximum Candies Allocated to K Children
- № 2235. Add Two Integers
- № 2236. Root Equals Sum of Children
- № 2251. Number of Flowers in Full Bloom
- № 2257. Count Unguarded Cells in the Grid
- № 2264. Largest 3-Same-Digit Number in String
- № 2265. Count Nodes Equal to Average of Subtree
- № 2270. Number of Ways to Split Array
- № 2275. Largest Combination With Bitwise AND Greater Than Zero
- № 2285. Maximum Total Importance of Roads
- № 2290. Minimum Obstacle Removal to Reach Corner
- № 2300. Successful Pairs of Spells and Potions
- № 2305. Fair Distribution of Cookies
- № 2326. Spiral Matrix IV
- № 2331. Evaluate Boolean Binary Tree
- № 2336. Smallest Number in Infinite Set
- № 2337. Move Pieces to Obtain a String
- № 2342. Max Sum of a Pair With Equal Sum of Digits
- № 2348. Number of Zero-Filled Sub-arrays
- № 2349. Design a Number Container System
- № 2352. Equal Row and Column Pairs
- № 2353. Design a Food Rating System
- № 2364. Count Number of Bad Pairs
- № 2370. Longest Ideal Subsequence
- № 2471. Minimum Number of Operations to Sort a Binary Tree by Level
- № 2373. Largest Local Values in a Matrix
- № 2375. Construct Smallest Number From DI String
- № 2379. Minimum Recolors to Get K Consecutive Black Blocks
- № 2381. Shifting Letters II
- № 2385. Amount of Time for Binary Tree to Be Infected
- № 2390. Removing Stars From a String
- № 2391. Minimum Amount of Time to Collect Garbage
- № 2392. Build a Matrix With Conditions
- № 2402. Meeting Rooms III
- № 2401. Longest Nice Subarray
- № 2405. Optimal Partition of String
- № 2406. Divide Intervals Into Minimum Number of Groups
- № 2415. Reverse Odd Levels of Binary Tree
- № 2416. Sum of Prefix Scores of Strings
- № 2418. Sort the People
- № 2419. Longest Subarray With Maximum Bitwise AND
- № 2425. Bitwise XOR of All Pairings
- № 2429. Minimize XOR
- № 2433. Find The Original Array of Prefix Xor
- № 2439. Minimize Maximum of Array
- № 2441. Largest Positive Integer That Exists With Its Negative
- № 2444. Count Subarrays With Fixed Bounds
- № 2448. Minimum Cost to Make Array Equal
- № 2458. Height of Binary Tree After Subtree Removal Queries
- № 2460. Apply Operations to an Array
- № 2461. Maximum Sum of Distinct Subarrays With Length K
- № 2462. Total Cost to Hire K Workers
- № 2463. Minimum Total Distance Traveled
- № 2466. Count Ways To Build Good Strings
- № 2467. Most Profitable Path in a Tree
- № 2482. Difference Between Ones and Zeros in Row and Column
- № 2485. Find the Pivot Integer
- № 2486. Append Characters to String to Make Subsequence
- № 2487. Remove Nodes From Linked List
- № 2490. Circular Sentence
- № 2491. Divide Players Into Teams of Equal Skill
- № 2493. Divide Nodes Into the Maximum Number of Groups
- № 2501. Longest Square Streak in an Array
- № 2503. Maximum Number of Points From Grid Queries
- № 2516. Take K of Each Character From Left and Right
- № 2530. Maximal Score After Applying K Operations
- № 2540. Minimum Common Value
- № 2542. Maximum Subsequence Score
- № 2551. Put Marbles in Bags
- № 2523. Closest Prime Numbers in Range
- № 2529. Maximum Count of Positive Integer and Negative Integer
- № 2554. Maximum Number of Integers to Choose From a Range I
- № 2558. Take Gifts From the Richest Pile
- № 2559. Count Vowel Strings in Ranges
- № 2560. House Robber IV
- № 2563. Count the Number of Fair Pairs
- № 2570. Merge Two 2D Arrays by Summing Values
- № 2577. Minimum Time to Visit a Cell In a Grid
- № 2577. Minimum Time to Visit a Cell In a Grid2579. Count Total Number of Colored Cells
- № 2582. Pass the Pillow
- № 2583. Kth Largest Sum in a Binary Tree
- № 2593. Find Score of an Array After Marking All Elements
- № 2594. Minimum Time to Repair Cars
- № 2597. The Number of Beautiful Subsets
- № 2601. Prime Subtraction Operation
- № 2610. Convert an Array Into a 2D Array With Conditions
- № 2616. Minimize the Maximum Difference of Pairs
- № 2641. Cousins in Binary Tree II
- № 2642. Design Graph With Shortest Path Calculator
- № 2657. Find the Prefix Common Array of Two Arrays
- № 2658. Maximum Number of Fish in a Grid
- № 2661. First Completely Painted Row or Column
- № 2678. Number of Senior Citizens
- № 2683. Neighboring Bitwise XOR
- № 2684. Maximum Number of Moves in a Grid
- № 2685. Count the Number of Complete Components
- № 2696. Minimum String Length After Removing Substrings
- № 2698. Find the Punishment Number of an Integer
- № 2699. Modify Graph Edge Weights
- № 2706. Buy Two Chocolates
- № 2707. Extra Characters in a String
- № 2709. Greatest Common Divisor Traversal
- № 2742. Painting the Walls
- № 2751. Robot Collisions
- № 2762. Continuous Subarrays
- № 2779. Maximum Beauty of an Array After Applying Operation
- № 2780. Minimum Index of a Valid Split
- № 2785. Sort Vowels in a String
- № 2807. Insert Greatest Common Divisors in Linked List
- № 2812. Find the Safest Path in a Grid
- № 2816. Double a Number Represented as a Linked List
- № 2818. Apply Operations to Maximize Score
- № 2825. Make String a Subsequence Using Cyclic Increments
- № 2843. Count Symmetric Integers
- № 2849. Determine if a Cell Is Reachable at a Given Time
- № 2864. Maximum Odd Binary Number
- № 2870. Minimum Number of Operations to Make Array Empty
- № 2872. Maximum Number of K-Divisible Components
- № 2873. Maximum Value of an Ordered Triplet I
- № 2874. Maximum Value of an Ordered Triplet II
- № 2914. Minimum Number of Changes to Make Binary String Beautiful
- № 2924. Find Champion II
- № 2938. Separate Black and White Balls
- № 2940. Find Building Where Alice and Bob Can Meet
- № 2948. Make Lexicographically Smallest Array by Swapping Elements
- № 2958. Length of Longest Subarray With at Most K Frequency
- № 2962. Count Subarrays Where Max Element Appears at Least K Times
- № 2965. Find Missing and Repeated Values
- № 2966. Divide Array Into Arrays With Max Difference
- № 2971. Find Polygon With the Largest Perimeter
- № 2976. Minimum Cost to Convert String I
- № 2981. Find Longest Special Substring That Occurs Thrice I
- № 2997. Minimum Number of Operations to Make Array XOR Equal to K
- № 2999. Count the Number of Powerful Integers
- № 3005. Count Elements With Maximum Frequency
- № 3011. Find if Array Can Be Sorted
- № 3016. Minimum Number of Pushes to Type Word II
- № 3042. Count Prefix and Suffix Pairs I
- № 3043. Find the Length of the Longest Common Prefix
- № 3066. Minimum Operations to Exceed Threshold Value II
- № 3068. Find the Maximum Sum of Node Values
- № 3075. Maximize Happiness of Selected Children
- № 3097. Shortest Subarray With OR at Least K II
- № 3105. Longest Strictly Increasing or Strictly Decreasing Subarray
- № 3108. Minimum Cost Walk in Weighted Graph
- № 3110. Score of a String
- № 3133. Minimum Array End
- № 3151. Special Array I
- № 3152. Special Array II
- № 3160. Find the Number of Distinct Colors Among the Balls
- № 3163. String Compression III
- № 3169. Count Days Without Meetings
- № 3174. Clear Digits
- № 3191. Minimum Operations to Make Binary Array Elements Equal to One I
- № 3203. Find Minimum Diameter After Merging Two Trees
- № 3208. Alternating Groups II
- № 3217. Delete Nodes From Linked List Present in Array
- № 3223. Minimum Length of String After Operations
- № 3243. Shortest Distance After Road Addition Queries I
- № 3254. Find the Power of K-Size Subarrays I
- № 3264. Final Array State After K Multiplication Operations I
- № 3272. Find the Count of Good Integers
- № 3306. Count of Substrings Containing Every Vowel and K Consonants II
- № 3356. Zero Array Transformation II
- № 3375. Minimum Operations to Make Array Values Equal to K
- № 3394. Check if Grid can be Cut into Sections
- № 3396. Minimum Number of Operations to Make Elements in Array Distinct