| 1. Two Sum |
Easy |
C C++ |
| 2. Add Two Numbers |
Medium |
C++ |
| 3. Longest Substring Without Repeating Characters |
Medium |
C C++ |
| 4. Median of Two Sorted Arrays |
Hard |
C C++ |
| 5. Longest Palindromic Substring |
Medium |
C C++ |
| 6. Zigzag Conversion |
Medium |
C C++ |
| 7. Reverse Integer |
Medium |
C C++ |
| 8. String to Integer (atoi) |
Medium |
C C++ |
| 9. Palindrome Number |
Easy |
C C++ |
| 10. Regular Expression Matching |
Hard |
C C++ |
| 11. Container With Most Water |
Medium |
C++ |
| 12. Integer to Roman |
Medium |
C C++ |
| 13. Roman to Integer |
Easy |
C C++ |
| 14. Longest Common Prefix |
Easy |
C C++ |
| 15. 3Sum |
Medium |
C++ |
| 16. 3Sum Closest |
Medium |
C C++ |
| 17. Letter Combinations of a Phone Number |
Medium |
C++ |
| 18. 4Sum |
Medium |
C C++ |
| 19. Remove Nth Node From End of List |
Medium |
C++ |
| 20. Valid Parentheses |
Easy |
C C++ |
| 21. Merge Two Sorted Lists |
Easy |
C++ |
| 22. Generate Parentheses |
Medium |
C C++ |
| 23. Merge k Sorted Lists |
Hard |
C++ |
| 24. Swap Nodes in Pairs |
Medium |
C++ |
| 25. Reverse Nodes in k-Group |
Hard |
C++ |
| 26. Remove Duplicates from Sorted Array |
Easy |
C++ |
| 27. Remove Element |
Easy |
C++ |
| 28. Find the Index of the First Occurrence in a String |
Easy |
C C++ |
| 29. Divide Two Integers |
Medium |
C C++ |
| 30. Substring with Concatenation of All Words |
Hard |
C++ |
| 31. Next Permutation |
Medium |
C++ |
| 32. Longest Valid Parentheses |
Hard |
C C++ |
| 33. Search in Rotated Sorted Array |
Medium |
C++ |
| 34. Find First and Last Position of Element in Sorted Array |
Medium |
C++ |
| 35. Search Insert Position |
Easy |
C++ |
| 36. Valid Sudoku |
Medium |
C C++ |
| 37. Sudoku Solver |
Hard |
C++ |
| 38. Count and Say |
Medium |
C C++ |
| 39. Combination Sum |
Medium |
C++ |
| 40. Combination Sum II |
Medium |
C C++ |
| 41. First Missing Positive |
Hard |
C C++ |
| 42. Trapping Rain Water |
Hard |
C C++ |
| 43. Multiply Strings |
Medium |
C C++ |
| 45. Jump Game II |
Medium |
C C++ |
| 46. Permutations |
Medium |
C C++ |
| 47. Permutations II |
Medium |
C C++ |
| 48. Rotate Image |
Medium |
C++ |
| 49. Group Anagrams |
Medium |
C++ |
| 50. Pow(x, n) |
Medium |
C C++ |
| 51. N-Queens |
Hard |
C++ |
| 52. N-Queens II |
Hard |
C C++ |
| 53. Maximum Subarray |
Medium |
C C++ |
| 54. Spiral Matrix |
Medium |
C C++ |
| 55. Jump Game |
Medium |
C C++ |
| 56. Merge Intervals |
Medium |
C C++ |
| 57. Insert Interval |
Medium |
C C++ |
| 58. Length of Last Word |
Easy |
C C++ |
| 59. Spiral Matrix II |
Medium |
C C++ |
| 60. Permutation Sequence |
Hard |
C C++ |
| 61. Rotate List |
Medium |
C++ |
| 62. Unique Paths |
Medium |
C C++ |
| 63. Unique Paths II |
Medium |
C C++ |
| 64. Minimum Path Sum |
Medium |
C C++ |
| 65. Valid Number |
Hard |
C C++ |
| 66. Plus One |
Easy |
C C++ |
| 67. Add Binary |
Easy |
C C++ |
| 68. Text Justification |
Hard |
C C++ |
| 69. Sqrt(x) |
Easy |
C C++ |
| 70. Climbing Stairs |
Easy |
C C++ |
| 71. Simplify Path |
Medium |
C C++ |
| 73. Set Matrix Zeroes |
Medium |
C++ |
| 74. Search a 2D Matrix |
Medium |
C C++ |
| 75. Sort Colors |
Medium |
C++ |
| 77. Combinations |
Medium |
C C++ |
| 78. Subsets |
Medium |
C++ |
| 79. Word Search |
Medium |
C C++ |
| 80. Remove Duplicates from Sorted Array II |
Medium |
C++ |
| 81. Search in Rotated Sorted Array II |
Medium |
C C++ |
| 82. Remove Duplicates from Sorted List II |
Medium |
C++ |
| 83. Remove Duplicates from Sorted List |
Easy |
C++ |
| 84. Largest Rectangle in Histogram |
Hard |
C C++ |
| 85. Maximal Rectangle |
Hard |
C C++ |
| 86. Partition List |
Medium |
C++ |
| 87. Scramble String |
Hard |
C C++ |
| 88. Merge Sorted Array |
Easy |
C++ |
| 89. Gray Code |
Medium |
C C++ |
| 90. Subsets II |
Medium |
C C++ |
| 91. Decode Ways |
Medium |
C C++ |
| 92. Reverse Linked List II |
Medium |
C++ |
| 93. Restore IP Addresses |
Medium |
C C++ |
| 94. Binary Tree Inorder Traversal |
Easy |
C++ |
| 97. Interleaving String |
Medium |
C C++ |
| 98. Validate Binary Search Tree |
Medium |
C++ |
| 100. Same Tree |
Easy |
C++ |
| 101. Symmetric Tree |
Easy |
C++ |
| 102. Binary Tree Level Order Traversal |
Medium |
C++ |
| 104. Maximum Depth of Binary Tree |
Easy |
C++ |
| 105. Construct Binary Tree from Preorder and Inorder Traversal |
Medium |
C++ |
| 106. Construct Binary Tree from Inorder and Postorder Traversal |
Medium |
C++ |
| 107. Binary Tree Level Order Traversal II |
Medium |
C++ |
| 112. Path Sum |
Easy |
C++ |
| 113. Path Sum II |
Medium |
C++ |
| 114. Flatten Binary Tree to Linked List |
Medium |
C++ |
| 115. Distinct Subsequences |
Hard |
C C++ |
| 118. Pascal's Triangle |
Easy |
C C++ |
| 119. Pascal's Triangle II |
Easy |
C C++ |
| 120. Triangle |
Medium |
C C++ |
| 121. Best Time to Buy and Sell Stock |
Easy |
C C++ |
| 122. Best Time to Buy and Sell Stock II |
Medium |
C C++ |
| 123. Best Time to Buy and Sell Stock III |
Hard |
C C++ |
| 125. Valid Palindrome |
Easy |
C C++ |
| 128. Longest Consecutive Sequence |
Medium |
C C++ |
| 129. Sum Root to Leaf Numbers |
Medium |
C++ |
| 130. Surrounded Regions |
Medium |
C++ |
| 131. Palindrome Partitioning |
Medium |
C C++ |
| 134. Gas Station |
Medium |
C C++ |
| 135. Candy |
Hard |
C C++ |
| 136. Single Number |
Easy |
C C++ |
| 137. Single Number II |
Medium |
C C++ |
| 140. Word Break II |
Hard |
C++ |
| 141. Linked List Cycle |
Easy |
C++ |
| 142. Linked List Cycle II |
Medium |
C++ |
| 143. Reorder List |
Medium |
C++ |
| 144. Binary Tree Preorder Traversal |
Easy |
C++ |
| 145. Binary Tree Postorder Traversal |
Easy |
C++ |
| 148. Sort List |
Medium |
C++ |
| 149. Max Points on a Line |
Hard |
C++ |
| 150. Evaluate Reverse Polish Notation |
Medium |
C C++ |
| 151. Reverse Words in a String |
Medium |
C C++ |
| 152. Maximum Product Subarray |
Medium |
C C++ |
| 153. Find Minimum in Rotated Sorted Array |
Medium |
C C++ |
| 164. Maximum Gap |
Medium |
C C++ |
| 165. Compare Version Numbers |
Medium |
C C++ |
| 166. Fraction to Recurring Decimal |
Medium |
C++ |
| 168. Excel Sheet Column Title |
Easy |
C C++ |
| 169. Majority Element |
Easy |
C C++ |
| 171. Excel Sheet Column Number |
Easy |
C C++ |
| 173. Binary Search Tree Iterator |
Medium |
C++ |
| 179. Largest Number |
Medium |
C C++ |
| 190. Reverse Bits |
Easy |
C C++ |
| 191. Number of 1 Bits |
Easy |
C C++ |
| 198. House Robber |
Medium |
C C++ |
| 199. Binary Tree Right Side View |
Medium |
C++ |
| 200. Number of Islands |
Medium |
C C++ |
| 201. Bitwise AND of Numbers Range |
Medium |
C C++ |
| 202. Happy Number |
Easy |
C++ |
| 203. Remove Linked List Elements |
Easy |
C++ |
| 204. Count Primes |
Medium |
C C++ |
| 205. Isomorphic Strings |
Easy |
C C++ |
| 206. Reverse Linked List |
Easy |
C++ |
| 208. Implement Trie (Prefix Tree) |
Medium |
C++ |
| 213. House Robber II |
Medium |
C C++ |
| 214. Shortest Palindrome |
Hard |
C++ |
| 215. Kth Largest Element in an Array |
Medium |
C C++ |
| 216. Combination Sum III |
Medium |
C C++ |
| 217. Contains Duplicate |
Easy |
C C++ |
| 219. Contains Duplicate II |
Easy |
C++ |
| 222. Count Complete Tree Nodes |
Easy |
C++ |
| 224. Basic Calculator |
Hard |
C C++ |
| 225. Implement Stack using Queues |
Easy |
C++ |
| 226. Invert Binary Tree |
Easy |
C++ |
| 227. Basic Calculator II |
Medium |
C C++ |
| 228. Summary Ranges |
Easy |
C C++ |
| 229. Majority Element II |
Medium |
C C++ |
| 230. Kth Smallest Element in a BST |
Medium |
C++ |
| 231. Power of Two |
Easy |
C C++ |
| 232. Implement Queue using Stacks |
Easy |
C++ |
| 234. Palindrome Linked List |
Easy |
C++ |
| 235. Lowest Common Ancestor of a Binary Search Tree |
Medium |
C++ |
| 236. Lowest Common Ancestor of a Binary Tree |
Medium |
C++ |
| 237. Delete Node in a Linked List |
Medium |
C++ |
| 238. Product of Array Except Self |
Medium |
C C++ |
| 241. Different Ways to Add Parentheses |
Medium |
C++ |
| 242. Valid Anagram |
Easy |
C C++ |
| 257. Binary Tree Paths |
Easy |
C++ |
| 258. Add Digits |
Easy |
C C++ |
| 260. Single Number III |
Medium |
C C++ |
| 263. Ugly Number |
Easy |
C C++ |
| 264. Ugly Number II |
Medium |
C C++ |
| 268. Missing Number |
Easy |
C C++ |
| 273. Integer to English Words |
Hard |
C C++ |
| 274. H-Index |
Medium |
C C++ |
| 275. H-Index II |
Medium |
C C++ |
| 278. First Bad Version |
Easy |
C++ |
| 279. Perfect Squares |
Medium |
C C++ |
| 283. Move Zeroes |
Easy |
C++ |
| 284. Peeking Iterator |
Medium |
C++ |
| 287. Find the Duplicate Number |
Medium |
C C++ |
| 289. Game of Life |
Medium |
C++ |
| 290. Word Pattern |
Easy |
C++ |
| 292. Nim Game |
Easy |
C C++ |
| 295. Find Median from Data Stream |
Hard |
C++ |
| 297. Serialize and Deserialize Binary Tree |
Hard |
C++ |
| 299. Bulls and Cows |
Medium |
C C++ |
| 300. Longest Increasing Subsequence |
Medium |
C C++ |
| 303. Range Sum Query - Immutable |
Easy |
C++ |
| 310. Minimum Height Trees |
Medium |
C C++ |
| 313. Super Ugly Number |
Medium |
C C++ |
| 316. Remove Duplicate Letters |
Medium |
C++ |
| 319. Bulb Switcher |
Medium |
C C++ |
| 322. Coin Change |
Medium |
C C++ |
| 326. Power of Three |
Easy |
C C++ |
| 330. Patching Array |
Hard |
C C++ |
| 334. Increasing Triplet Subsequence |
Medium |
C C++ |
| 338. Counting Bits |
Easy |
C C++ |
| 342. Power of Four |
Easy |
C C++ |
| 343. Integer Break |
Medium |
C++ |
| 344. Reverse String |
Easy |
C++ |
| 345. Reverse Vowels of a String |
Easy |
C C++ |
| 347. Top K Frequent Elements |
Medium |
C++ |
| 349. Intersection of Two Arrays |
Easy |
C C++ |
| 350. Intersection of Two Arrays II |
Easy |
C C++ |
| 355. Design Twitter |
Medium |
C++ |
| 357. Count Numbers with Unique Digits |
Medium |
C C++ |
| 367. Valid Perfect Square |
Easy |
C C++ |
| 368. Largest Divisible Subset |
Medium |
C C++ |
| 373. Find K Pairs with Smallest Sums |
Medium |
C C++ |
| 374. Guess Number Higher or Lower |
Medium |
C++ |
| 380. Insert Delete GetRandom O(1) |
Medium |
C++ |
| 383. Ransom Note |
Easy |
C C++ |
| 386. Lexicographical Numbers |
Medium |
C C++ |
| 387. First Unique Character in a String |
Easy |
C C++ |
| 389. Find the Difference |
Easy |
C++ |
| 392. Is Subsequence |
Easy |
C++ |
| 396. Rotate Function |
Medium |
C C++ |
| 402. Remove K Digits |
Medium |
C C++ |
| 404. Sum of Left Leaves |
Easy |
C++ |
| 405. Convert a Number to Hexadecimal |
Easy |
C C++ |
| 407. Trapping Rain Water II |
Hard |
C C++ |
| 409. Longest Palindrome |
Easy |
C C++ |
| 412. Fizz Buzz |
Easy |
C C++ |
| 413. Arithmetic Slices |
Medium |
C C++ |
| 414. Third Maximum Number |
Easy |
C C++ |
| 415. Add Strings |
Easy |
C C++ |
| 416. Partition Equal Subset Sum |
Medium |
C C++ |
| 417. Pacific Atlantic Water Flow |
Medium |
C C++ |
| 419. Battleships in a Board |
Medium |
C C++ |
| 429. N-ary Tree Level Order Traversal |
Medium |
C++ |
| 432. All O`one Data Structure |
Hard |
C++ |
| 434. Number of Segments in a String |
Easy |
C C++ |
| 440. K-th Smallest in Lexicographical Order |
Hard |
C C++ |
| 441. Arranging Coins |
Easy |
C C++ |
| 442. Find All Duplicates in an Array |
Medium |
C C++ |
| 446. Arithmetic Slices II - Subsequence |
Hard |
C++ |
| 448. Find All Numbers Disappeared in an Array |
Easy |
C C++ |
| 451. Sort Characters By Frequency |
Medium |
C C++ |
| 452. Minimum Number of Arrows to Burst Balloons |
Medium |
C C++ |
| 454. 4Sum II |
Medium |
C++ |
| 455. Assign Cookies |
Easy |
C C++ |
| 456. 132 Pattern |
Medium |
C C++ |
| 458. Poor Pigs |
Hard |
C C++ |
| 459. Repeated Substring Pattern |
Easy |
C C++ |
| 461. Hamming Distance |
Easy |
C C++ |
| 462. Minimum Moves to Equal Array Elements II |
Medium |
C C++ |
| 463. Island Perimeter |
Easy |
C C++ |
| 474. Ones and Zeroes |
Medium |
C C++ |
| 476. Number Complement |
Easy |
C C++ |
| 485. Max Consecutive Ones |
Easy |
C++ |
| 494. Target Sum |
Medium |
C C++ |
| 495. Teemo Attacking |
Medium |
C C++ |
| 496. Next Greater Element I |
Easy |
C C++ |
| 498. Diagonal Traverse |
Medium |
C C++ |
| 500. Keyboard Row |
Easy |
C C++ |
| 502. IPO |
Hard |
C C++ |
| 504. Base 7 |
Easy |
C C++ |
| 506. Relative Ranks |
Easy |
C C++ |
| 508. Most Frequent Subtree Sum |
Medium |
C++ |
| 509. Fibonacci Number |
Easy |
C C++ |
| 513. Find Bottom Left Tree Value |
Medium |
C++ |
| 514. Freedom Trail |
Hard |
C C++ |
| 515. Find Largest Value in Each Tree Row |
Medium |
C++ |
| 520. Detect Capital |
Easy |
C C++ |
| 523. Continuous Subarray Sum |
Medium |
C C++ |
| 525. Contiguous Array |
Medium |
C++ |
| 529. Minesweeper |
Medium |
C++ |
| 535. Encode and Decode TinyURL |
Medium |
C++ |
| 537. Complex Number Multiplication |
Medium |
C C++ |
| 538. Convert BST to Greater Tree |
Medium |
C++ |
| 539. Minimum Time Difference |
Medium |
C C++ |
| 541. Reverse String II |
Easy |
C C++ |
| 543. Diameter of Binary Tree |
Easy |
C++ |
| 546. Remove Boxes |
Hard |
C C++ |
| 547. Number of Provinces |
Medium |
C C++ |
| 552. Student Attendance Record II |
Hard |
C C++ |
| 557. Reverse Words in a String III |
Easy |
C C++ |
| 559. Maximum Depth of N-ary Tree |
Easy |
C++ |
| 561. Array Partition |
Easy |
C C++ |
| 566. Reshape the Matrix |
Easy |
C C++ |
| 567. Permutation in String |
Medium |
C C++ |
| 575. Distribute Candies |
Easy |
C C++ |
| 576. Out of Boundary Paths |
Medium |
C++ |
| 587. Erect the Fence |
Hard |
C++ |
| 589. N-ary Tree Preorder Traversal |
Easy |
C++ |
| 590. N-ary Tree Postorder Traversal |
Easy |
C++ |
| 592. Fraction Addition and Subtraction |
Medium |
C C++ |
| 594. Longest Harmonious Subsequence |
Easy |
C C++ |
| 598. Range Addition II |
Easy |
C C++ |
| 605. Can Place Flowers |
Easy |
C C++ |
| 606. Construct String from Binary Tree |
Easy |
C++ |
| 611. Valid Triangle Number |
Medium |
C C++ |
| 617. Merge Two Binary Trees |
Easy |
C++ |
| 621. Task Scheduler |
Medium |
C C++ |
| 623. Add One Row to Tree |
Medium |
C++ |
| 624. Maximum Distance in Arrays |
Medium |
C C++ |
| 628. Maximum Product of Three Numbers |
Easy |
C C++ |
| 632. Smallest Range Covering Elements from K Lists |
Hard |
C++ |
| 633. Sum of Square Numbers |
Medium |
C C++ |
| 637. Average of Levels in Binary Tree |
Easy |
C++ |
| 640. Solve the Equation |
Medium |
C C++ |
| 641. Design Circular Deque |
Medium |
C++ |
| 645. Set Mismatch |
Easy |
C C++ |
| 647. Palindromic Substrings |
Medium |
C C++ |
| 648. Replace Words |
Medium |
C++ |
| 650. 2 Keys Keyboard |
Medium |
C C++ |
| 654. Maximum Binary Tree |
Medium |
C++ |
| 655. Print Binary Tree |
Medium |
C++ |
| 657. Robot Return to Origin |
Easy |
C C++ |
| 661. Image Smoother |
Easy |
C++ |
| 664. Strange Printer |
Hard |
C C++ |
| 669. Trim a Binary Search Tree |
Medium |
C++ |
| 670. Maximum Swap |
Medium |
C C++ |
| 678. Valid Parenthesis String |
Medium |
C C++ |
| 679. 24 Game |
Hard |
C C++ |
| 680. Valid Palindrome II |
Easy |
C C++ |
| 682. Baseball Game |
Easy |
C C++ |
| 684. Redundant Connection |
Medium |
C C++ |
| 689. Maximum Sum of 3 Non-Overlapping Subarrays |
Hard |
C C++ |
| 690. Employee Importance |
Medium |
C++ |
| 693. Binary Number with Alternating Bits |
Easy |
C++ |
| 695. Max Area of Island |
Medium |
C C++ |
| 696. Count Binary Substrings |
Easy |
C C++ |
| 700. Search in a Binary Search Tree |
Easy |
C++ |
| 701. Insert into a Binary Search Tree |
Medium |
C++ |
| 703. Kth Largest Element in a Stream |
Easy |
C++ |
| 705. Design HashSet |
Easy |
C++ |
| 709. To Lower Case |
Easy |
C C++ |
| 712. Minimum ASCII Delete Sum for Two Strings |
Medium |
C C++ |
| 713. Subarray Product Less Than K |
Medium |
C C++ |
| 714. Best Time to Buy and Sell Stock with Transaction Fee |
Medium |
C C++ |
| 717. 1-bit and 2-bit Characters |
Easy |
C C++ |
| 719. Find K-th Smallest Pair Distance |
Hard |
C C++ |
| 725. Split Linked List in Parts |
Medium |
C++ |
| 726. Number of Atoms |
Hard |
C++ |
| 728. Self Dividing Numbers |
Easy |
C C++ |
| 729. My Calendar I |
Medium |
C++ |
| 731. My Calendar II |
Medium |
C++ |
| 732. My Calendar III |
Hard |
C++ |
| 739. Daily Temperatures |
Medium |
C C++ |
| 744. Find Smallest Letter Greater Than Target |
Easy |
C C++ |
| 746. Min Cost Climbing Stairs |
Easy |
C++ |
| 752. Open the Lock |
Medium |
C C++ |
| 757. Set Intersection Size At Least Two |
Hard |
C C++ |
| 762. Prime Number of Set Bits in Binary Representation |
Easy |
C C++ |
| 763. Partition Labels |
Medium |
C C++ |
| 766. Toeplitz Matrix |
Easy |
C C++ |
| 769. Max Chunks To Make Sorted |
Medium |
C++ |
| 771. Jewels and Stones |
Easy |
C C++ |
| 773. Sliding Puzzle |
Hard |
C++ |
| 778. Swim in Rising Water |
Hard |
C C++ |
| 779. K-th Symbol in Grammar |
Medium |
C C++ |
| 781. Rabbits in Forest |
Medium |
C C++ |
| 784. Letter Case Permutation |
Medium |
C C++ |
| 786. K-th Smallest Prime Fraction |
Medium |
C C++ |
| 787. Cheapest Flights Within K Stops |
Medium |
C C++ |
| 790. Domino and Tromino Tiling |
Medium |
C C++ |
| 791. Custom Sort String |
Medium |
C C++ |
| 796. Rotate String |
Easy |
C C++ |
| 797. All Paths From Source to Target |
Medium |
C C++ |
| 802. Find Eventual Safe States |
Medium |
C C++ |
| 804. Unique Morse Code Words |
Easy |
C++ |
| 806. Number of Lines To Write String |
Easy |
C C++ |
| 807. Max Increase to Keep City Skyline |
Medium |
C C++ |
| 811. Subdomain Visit Count |
Medium |
C++ |
| 812. Largest Triangle Area |
Easy |
C C++ |
| 814. Binary Tree Pruning |
Medium |
C++ |
| 815. Bus Routes |
Hard |
C++ |
| 821. Shortest Distance to a Character |
Easy |
C C++ |
| 823. Binary Trees With Factors |
Medium |
C++ |
| 824. Goat Latin |
Easy |
C C++ |
| 826. Most Profit Assigning Work |
Medium |
C C++ |
| 827. Making A Large Island |
Hard |
C++ |
| 832. Flipping an Image |
Easy |
C++ |
| 834. Sum of Distances in Tree |
Hard |
C C++ |
| 838. Push Dominoes |
Medium |
C C++ |
| 840. Magic Squares In Grid |
Medium |
C C++ |
| 841. Keys and Rooms |
Medium |
C C++ |
| 844. Backspace String Compare |
Easy |
C++ |
| 846. Hand of Straights |
medium |
C C++ |
| 852. Peak Index in a Mountain Array |
medium |
C++ |
| 857. Minimum Cost to Hire K Workers |
Hard |
C++ |
| 859. Buddy Strings |
Easy |
C C++ |
| 860. Lemonade Change |
Easy |
C C++ |
| 861. Score After Flipping Matrix |
Medium |
C C++ |
| 863. All Nodes Distance K in Binary Tree |
Medium |
C++ |
| 865. Smallest Subtree with all the Deepest Nodes |
Medium |
C++ |
| 867. Transpose Matrix |
Easy |
C C++ |
| 868. Binary Gap |
Easy |
C++ |
| 869. Reordered Power of 2 |
Medium |
C C++ |
| 872. Leaf-Similar Trees |
Easy |
C++ |
| 873. Length of Longest Fibonacci Subsequence |
Medium |
C C++ |
| 874. Walking Robot Simulation |
Medium |
C++ |
| 875. Koko Eating Bananas |
Medium |
C C++ |
| 876. Middle of the Linked List |
Easy |
C++ |
| 877. Stone Game |
Medium |
C C++ |
| 880. Decoded String at Index |
Medium |
C++ |
| 881. Boats to Save People |
Medium |
C C++ |
| 883. Projection Area of 3D Shapes |
Easy |
C C++ |
| 884. Uncommon Words from Two Sentences |
Easy |
C++ |
| 885. Spiral Matrix III |
Medium |
C C++ |
| 888. Fair Candy Swap |
Easy |
C C++ |
| 889. Construct Binary Tree from Preorder and Postorder Traversal |
Medium |
C++ |
| 890. Find and Replace Pattern |
Medium |
C C++ |
| 892. Surface Area of 3D Shapes |
Easy |
C C++ |
| 893. Groups of Special-Equivalent Strings |
Medium |
C C++ |
| 894. All Possible Full Binary Trees |
Medium |
C++ |
| 897. Increasing Order Search Tree |
Easy |
C++ |
| 898. Bitwise ORs of Subarrays |
Medium |
C++ |
| 901. Online Stock Span |
Medium |
C++ |
| 904. Fruit Into Baskets |
Medium |
C C++ |
| 905. Sort Array By Parity |
Easy |
C++ |
| 907. Sum of Subarray Minimums |
Medium |
C C++ |
| 908. Smallest Range I |
Easy |
C C++ |
| 909. Snakes and Ladders |
Medium |
C C++ |
| 911. Online Election |
Medium |
C++ |
| 912. Sort an Array |
Medium |
C C++ |
| 914. X of a Kind in a Deck of Cards |
Easy |
C C++ |
| 916. Word Subsets |
Medium |
C C++ |
| 917. Reverse Only Letters |
Easy |
C C++ |
| 921. Minimum Add to Make Parentheses Valid |
Medium |
C C++ |
| 922. Sort Array By Parity II |
Easy |
C C++ |
| 925. Long Pressed Name |
Easy |
C C++ |
| 929. Unique Email Addresses |
Easy |
C C++ |
| 930. Binary Subarrays With Sum |
Medium |
C C++ |
| 931. Minimum Falling Path Sum |
Medium |
C++ |
| 933. Number of Recent Calls |
Easy |
C++ |
| 934. Shortest Bridge |
Medium |
C C++ |
| 935. Knight Dialer |
Easy |
C C++ |
| 938. Range Sum of BST |
Easy |
C++ |
| 942. DI String Match |
Easy |
C C++ |
| 944. Delete Columns to Make Sorted |
Easy |
C C++ |
| 945. Minimum Increment to Make Array Unique |
Medium |
C C++ |
| 946. Validate Stack Sequences |
Medium |
C C++ |
| 947. Most Stones Removed with Same Row or Column |
Medium |
C++ |
| 948. Bag of Tokens |
Medium |
C C++ |
| 950. Reveal Cards In Increasing Order |
Medium |
C++ |
| 951. Flip Equivalent Binary Trees |
Medium |
C++ |
| 955. Delete Columns to Make Sorted II |
Medium |
C C++ |
| 959. Regions Cut By Slashes |
Medium |
C C++ |
| 961. N-Repeated Element in Size 2N Array |
Easy |
C C++ |
| 962. Maximum Width Ramp |
Medium |
C C++ |
| 965. Univalued Binary Tree |
Easy |
C++ |
| 966. Vowel Spellchecker |
Medium |
C++ |
| 969. Pancake Sorting |
Medium |
C++ |
| 973. K Closest Points to Origin |
Medium |
C C++ |
| 974. Subarray Sums Divisible by K |
Medium |
C C++ |
| 976. Largest Perimeter Triangle |
Easy |
C C++ |
| 977. Squares of a Sorted Array |
Easy |
C C++ |
| 979. Distribute Coins in Binary Tree |
Medium |
C++ |
| 980. Unique Paths III |
Hard |
C C++ |
| 983. Minimum Cost For Tickets |
Medium |
C C++ |
| 985. Sum of Even Numbers After Queries |
Medium |
C C++ |
| 986. Interval List Intersections |
Medium |
C C++ |
| 988. Smallest String Starting From Leaf |
Medium |
C++ |
| 991. Broken Calculator |
Medium |
C C++ |
| 992. Subarrays with K Different Integers |
Hard |
C++ |
| 995. Minimum Number of K Consecutive Bit Flips |
Hard |
C C++ |
| 997. Find the Town Judge |
Easy |
C C++ |
| 998. Maximum Binary Tree II |
Medium |
C++ |
| 999. Available Captures for Rook |
Easy |
C C++ |
| 1002. Find Common Characters |
Easy |
C C++ |
| 1004. Max Consecutive Ones III |
Easy |
C C++ |
| 1006. Clumsy Factorial |
Medium |
C C++ |
| 1007. Minimum Domino Rotations For Equal Row |
Medium |
C C++ |
| 1008. Construct Binary Search Tree from Preorder Traversal |
Medium |
C++ |
| 1009. Complement of Base 10 Integer |
Easy |
C C++ |
| 1011. Capacity To Ship Packages Within D Days |
Medium |
C C++ |
| 1014. Best Sightseeing Pair |
Medium |
C C++ |
| 1015. Smallest Integer Divisible by K |
Medium |
C C++ |
| 1018. Binary Prefix Divisible By 5 |
Easy |
C C++ |
| 1020. Number of Enclaves |
Medium |
C C++ |
| 1021. Remove Outermost Parentheses |
Easy |
C C++ |
| 1022. Sum of Root To Leaf Binary Numbers |
Easy |
C++ |
| 1025. Divisor Game |
Easy |
C C++ |
| 1026. Maximum Difference Between Node and Ancestor |
Medium |
C++ |
| 1028. Recover a Tree From Preorder Traversal |
Hard |
C++ |
| 1029. Two City Scheduling |
Medium |
C C++ |
| 1030. Matrix Cells in Distance Order |
Easy |
C C++ |
| 1038. Binary Search Tree to Greater Sum Tree |
Medium |
C++ |
| 1039. Minimum Score Triangulation of Polygon |
Medium |
C C++ |
| 1043. Partition Array for Maximum Sum |
Medium |
C C++ |
| 1046. Last Stone Weight |
Easy |
C C++ |
| 1047. Remove All Adjacent Duplicates In String |
Medium |
C C++ |
| 1048. Longest String Chain |
Medium |
C++ |
| 1051. Height Checker |
Easy |
C C++ |
| 1052. Grumpy Bookstore Owner |
Medium |
C C++ |
| 1061. Lexicographically Smallest Equivalent String |
Medium |
C C++ |
| 1071. Greatest Common Divisor of Strings |
Easy |
C C++ |
| 1072. Flip Columns For Maximum Number of Equal Rows |
Medium |
C++ |
| 1074. Number of Submatrices That Sum to Target |
Hard |
C C++ |
| 1079. Letter Tile Possibilities |
Medium |
C C++ |
| 1080. Insufficient Nodes in Root to Leaf Paths |
Medium |
C++ |
| 1081. Smallest Subsequence of Distinct Characters |
Medium |
C++ |
| 1090. Largest Values From Labels |
Medium |
C C++ |
| 1092. Shortest Common Supersequence |
Hard |
C C++ |
| 1103. Distribute Candies to People |
Easy |
C C++ |
| 1104. Path In Zigzag Labelled Binary Tree |
Medium |
C C++ |
| 1105. Filling Bookcase Shelves |
Medium |
C C++ |
| 1106. Parsing A Boolean Expression |
Hard |
C C++ |
| 1108. Defanging an IP Address |
Easy |
C C++ |
| 1109. Corporate Flight Bookings |
Medium |
C C++ |
| 1110. Delete Nodes And Return Forest |
Medium |
C++ |
| 1111. Maximum Nesting Depth of Two Valid Parentheses Strings |
Medium |
C C++ |
| 1122. Relative Sort Array |
Easy |
C C++ |
| 1123. Lowest Common Ancestor of Deepest Leaves |
Medium |
C++ |
| 1128. Number of Equivalent Domino Pairs |
Easy |
C C++ |
| 1130. Minimum Cost Tree From Leaf Values |
Medium |
C C++ |
| 1137. N-th Tribonacci Number |
Easy |
C C++ |
| 1140. Stone Game II |
Medium |
C C++ |
| 1143. Longest Common Subsequence |
Medium |
C C++ |
| 1155. Number of Dice Rolls With Target Sum |
Medium |
C C++ |
| 1160. Find Words That Can Be Formed by Characters |
Easy |
C C++ |
| 1161. Maximum Level Sum of a Binary Tree |
Medium |
C++ |
| 1170. Compare Strings by Frequency of the Smallest Character |
Medium |
C++ |
| 1175. Prime Arrangements |
Easy |
C C++ |
| 1184. Distance Between Bus Stops |
Easy |
C C++ |
| 1190. Reverse Substrings Between Each Pair of Parentheses |
Medium |
C C++ |
| 1195. Fizz Buzz Multithreaded |
Medium |
C++ |
| 1200. Minimum Absolute Difference |
Easy |
C C++ |
| 1207. Unique Number of Occurrences |
Easy |
C++ |
| 1208. Get Equal Substrings Within Budget |
Medium |
C C++ |
| 1209. Remove All Adjacent Duplicates in String II |
Medium |
C C++ |
| 1210. Minimum Moves to Reach Target with Rotations |
Hard |
C++ |
| 1217. Minimum Cost to Move Chips to The Same Position |
Easy |
C C++ |
| 1219. Path with Maximum Gold |
Medium |
C C++ |
| 1220. Count Vowels Permutation |
Hard |
C C++ |
| 1221. Split a String in Balanced Strings |
Easy |
C C++ |
| 1222. Queens That Can Attack the King |
Medium |
C C++ |
| 1232. Check If It Is a Straight Line |
Easy |
C++ |
| 1233. Remove Sub-Folders from the Filesystem |
Medium |
C C++ |
| 1235. Maximum Profit in Job Scheduling |
Hard |
C++ |
| 1237. Find Positive Integer Solution for a Given Equation |
Medium |
C++ |
| 1238. Circular Permutation in Binary Representation |
Medium |
C C++ |
| 1239. Maximum Length of a Concatenated String with Unique Characters |
Medium |
C C++ |
| 1247. Minimum Swaps to Make Strings Equal |
Medium |
C C++ |
| 1248. Count Number of Nice Subarrays |
Medium |
C C++ |
| 1252. Cells with Odd Values in a Matrix |
Easy |
C C++ |
| 1253. Reconstruct a 2-Row Binary Matrix |
Medium |
C C++ |
| 1255. Maximum Score Words Formed by Letters |
Hard |
C C++ |
| 1261. Find Elements in a Contaminated Binary Tree |
Medium |
C++ |
| 1262. Greatest Sum Divisible by Three |
Medium |
C C++ |
| 1266. Minimum Time Visiting All Points |
Easy |
C C++ |
| 1267. Count Servers that Communicate |
Medium |
C C++ |
| 1269. Number of Ways to Stay in the Same Place After Some Steps |
Hard |
C++ |
| 1275. Find Winner on a Tic Tac Toe Game |
Easy |
C C++ |
| 1277. Count Square Submatrices with All Ones |
Medium |
C C++ |
| 1281. Subtract the Product and Sum of Digits of an Integer |
Easy |
C C++ |
| 1282. Group the People Given the Group Size They Belong To |
Medium |
C C++ |
| 1286. Iterator for Combination |
Medium |
C++ |
| 1287. Element Appearing More Than 25% In Sorted Array |
Easy |
C C++ |
| 1289. Minimum Falling Path Sum II |
Hard |
C C++ |
| 1290. Convert Binary Number in a Linked List to Integer |
Easy |
C++ |
| 1291. Sequential Digits |
Medium |
C C++ |
| 1295. Find Numbers with Even Number of Digits |
Easy |
C C++ |
| 1298. Maximum Candies You Can Get from Boxes |
Hard |
C C++ |
| 1299. Replace Elements with Greatest Element on Right Side |
Easy |
C C++ |
| 1302. Deepest Leaves Sum |
Medium |
C++ |
| 1304. Find N Unique Integers Sum up to Zero |
Easy |
C C++ |
| 1305. All Elements in Two Binary Search Trees |
Medium |
C++ |
| 1309. Decrypt String from Alphabet to Integer Mapping |
Easy |
C C++ |
| 1310. XOR Queries of a Subarray |
Medium |
C C++ |
| 1313. Decompress Run-Length Encoded List |
Easy |
C C++ |
| 1314. Matrix Block Sum |
Medium |
C C++ |
| 1315. Sum of Nodes with Even-Valued Grandparent |
Medium |
C++ |
| 1317. Convert Integer to the Sum of Two No-Zero Integers |
Easy |
C C++ |
| 1318. Minimum Flips to Make a OR b Equal to c |
Medium |
C C++ |
| 1323. Maximum 69 Number |
Easy |
C C++ |
| 1325. Delete Leaves With a Given Value |
Medium |
C++ |
| 1329. Sort the Matrix Diagonally |
Medium |
C C++ |
| 1331. Rank Transform of an Array |
Easy |
C C++ |
| 1332. Remove Palindromic Subsequences |
Medium |
C C++ |
| 1334. Find the City With the Smallest Number of Neighbors at a Threshold Distance |
Medium |
C C++ |
| 1339. Maximum Product of Splitted Binary Tree |
Medium |
C++ |
| 1337. The K Weakest Rows in a Matrix |
Easy |
C++ |
| 1338. Reduce Array Size to The Half |
Medium |
C C++ |
| 1342. Number of Steps to Reduce a Number to Zero |
Easy |
C C++ |
| 1343. Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold |
Medium |
C C++ |
| 1346. Check If N and Its Double Exist |
Easy |
C++ |
| 1347. Minimum Number of Steps to Make Two Strings Anagram |
Medium |
C C++ |
| 1348. Tweet Counts Per Frequency |
Medium |
C++ |
| 1351. Count Negative Numbers in a Sorted Matrix |
Easy |
C C++ |
| 1352. Product of the Last K Numbers |
Medium |
C++ |
| 1353. Maximum Number of Events That Can Be Attended |
Medium |
C C++ |
| 1356. Sort Integers by The Number of 1 Bits |
Easy |
C++ |
| 1357. Apply Discount Every n Orders |
Medium |
C++ |
| 1361. Validate Binary Tree Nodes |
Medium |
C C++ |
| 1365. How Many Numbers Are Smaller Than the Current Number |
Easy |
C++ |
| 1366. Rank Teams by Votes |
Medium |
C C++ |
| 1367. Linked List in Binary Tree |
Medium |
C++ |
| 1370. Increasing Decreasing String |
Easy |
C C++ |
| 1371. Find the Longest Substring Containing Vowels in Even Counts |
Medium |
C C++ |
| 1372. Longest ZigZag Path in a Binary Tree |
Medium |
C++ |
| 1374. Generate a String With Characters That Have Odd Counts |
Easy |
C C++ |
| 1379. Find a Corresponding Node of a Binary Tree in a Clone of That Tree |
Medium |
C C++ |
| 1380. Lucky Numbers in a Matrix |
Easy |
C C++ |
| 1381. Design a Stack With Increment Operation |
Medium |
C++ |
| 1382. Balance a Binary Search Tree |
Medium |
C++ |
| 1385. Find the Distance Value Between Two Arrays |
Easy |
C C++ |
| 1387. Sort Integers by The Power Value |
Medium |
C C++ |
| 1394. Find Lucky Integer in an Array |
Easy |
C C++ |
| 1389. Create Target Array in the Given Order |
Medium |
C C++ |
| 1390. Four Divisors |
Medium |
C C++ |
| 1395. Count Number of Teams |
Medium |
C C++ |
| 1396. Design Underground System |
Medium |
C++ |
| 1399. Count Largest Group |
Easy |
C++ |
| 1402. Reducing Dishes |
Hard |
C C++ |
| 1403. Minimum Subsequence in Non-Increasing Order |
Easy |
C C++ |
| 1404. Number of Steps to Reduce a Number in Binary Representation to One |
Medium |
C C++ |
| 1405. Longest Happy String |
Medium |
C C++ |
| 1408. String Matching in an Array |
Easy |
C C++ |
| 1409. Queries on a Permutation With Key |
Medium |
C C++ |
| 1411. Number of Ways to Paint N × 3 Grid |
Hard |
C C++ |
| 1415. The k-th Lexicographical String of All Happy Strings of Length n |
Medium |
C C++ |
| 1418. Display Table of Food Orders in a Restaurant |
Medium |
C++ |
| 1419. Minimum Number of Frogs Croaking |
Medium |
C C++ |
| 1422. Maximum Score After Splitting a String |
Easy |
C C++ |
| 1424. Diagonal Traverse II |
Medium |
C++ |
| 1425. Constrained Subsequence Sum |
Hard |
C++ |
| 1431. Kids With the Greatest Number of Candies |
Easy |
C C++ |
| 1432. Max Difference You Can Get From Changing an Integer |
Medium |
C C++ |
| 1433. Check If a String Can Break Another String |
Medium |
C C++ |
| 1436. Destination City |
Easy |
C++ |
| 1437. Check If All 1's Are at Least Length K Places Away |
Easy |
C C++ |
| 1438. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit |
Medium |
C C++ |
| 1441. Build an Array With Stack Operations |
Medium |
C++ |
| 1442. Count Triplets That Can Form Two Arrays of Equal XOR |
Medium |
C C++ |
| 1448. Count Good Nodes in Binary Tree |
Medium |
C++ |
| 1450. Number of Students Doing Homework at a Given Time |
Easy |
C C++ |
| 1455. Check If a Word Occurs As a Prefix of Any Word in a Sentence |
Easy |
C C++ |
| 1457. Pseudo-Palindromic Paths in a Binary Tree |
Medium |
C++ |
| 1458. Max Dot Product of Two Subsequences |
Hard |
C C++ |
| 1460. Make Two Arrays Equal by Reversing Subarrays |
Easy |
C C++ |
| 1462. Course Schedule IV |
Medium |
C C++ |
| 1464. Maximum Product of Two Elements in an Array |
Easy |
C C++ |
| 1470. Shuffle the Array |
Easy |
C C++ |
| 1472. Design Browser History |
Medium |
C++ |
| 1475. Final Prices With a Special Discount in a Shop |
Easy |
C C++ |
| 1476. Subrectangle Queries |
Medium |
C++ |
| 1480. Running Sum of 1d Array |
Easy |
C C++ |
| 1481. Least Number of Unique Integers after K Removals |
Medium |
C++ |
| 1482. Minimum Number of Days to Make m Bouquets |
Medium |
C C++ |
| 1486. XOR Operation in an Array |
Easy |
C C++ |
| 1488. Avoid Flood in The City |
Medium |
C++ |
| 1492. The kth Factor of n |
Medium |
C C++ |
| 1493. Longest Subarray of 1's After Deleting One Element |
Medium |
C C++ |
| 1496. Path Crossing |
Easy |
C++ |
| 1497. Check If Array Pairs Are Divisible by k |
Medium |
C C++ |
| 1498. Number of Subsequences That Satisfy the Given Sum Condition |
Medium |
C C++ |
| 1502. Can Make Arithmetic Progression From Sequence |
Easy |
C C++ |
| 1503. Last Moment Before All Ants Fall Out of a Plank |
Medium |
C C++ |
| 1507. Reformat Date |
Easy |
C C++ |
| 1508. Range Sum of Sorted Subarray Sums |
Medium |
C C++ |
| 1509. Minimum Difference Between Largest and Smallest Value in Three Moves |
Medium |
C C++ |
| 1512. Number of Good Pairs |
Easy |
C C++ |
| 1513. Number of Substrings With Only 1s |
Medium |
C C++ |
| 1514. Path with Maximum Probability |
Medium |
C C++ |
| 1518. Water Bottles |
Easy |
C C++ |
| 1523. Count Odd Numbers in an Interval Range |
Easy |
C C++ |
| 1524. Number of Sub-arrays With Odd Sum |
Medium |
C C++ |
| 1525. Number of Good Ways to Split a String |
Medium |
C C++ |
| 1526. Minimum Number of Increments on Subarrays to Form a Target Array |
Hard |
C C++ |
| 1528. Shuffle String |
Easy |
C C++ |
| 1529. Minimum Suffix Flips |
Medium |
C C++ |
| 1530. Number of Good Leaf Nodes Pairs |
Medium |
C++ |
| 1534. Count Good Triplets |
Easy |
C C++ |
| 1535. Find the Winner of an Array Game |
Medium |
C C++ |
| 1544. Make The String Great |
Easy |
C C++ |
| 1545. Find Kth Bit in Nth Binary String |
Medium |
C C++ |
| 1550. Three Consecutive Odds |
Easy |
C C++ |
| 1551. Minimum Operations to Make Array Equal |
Medium |
C C++ |
| 1552. Magnetic Force Between Two Balls |
Medium |
C C++ |
| 1557. Minimum Number of Vertices to Reach All Nodes |
Medium |
C C++ |
| 1561. Maximum Number of Coins You Can Get |
Medium |
C C++ |
| 1563. Stone Game V |
Hard |
C C++ |
| 1566. Detect Pattern of Length M Repeated K or More Times |
Easy |
C C++ |
| 1572. Matrix Diagonal Sum |
Easy |
C C++ |
| 1574. Shortest Subarray to be Removed to Make Array Sorted |
Medium |
C C++ |
| 1578. Minimum Time to Make Rope Colorful |
Medium |
C++ |
| 1579. Remove Max Number of Edges to Keep Graph Fully Traversable |
Hard |
C C++ |
| 1582. Special Positions in a Binary Matrix |
Easy |
C C++ |
| 1588. Sum of All Odd Length Subarrays |
Easy |
C C++ |
| 1590. Make Sum Divisible by P |
Medium |
C++ |
| 1593. Split a String Into the Max Number of Unique Substrings |
Medium |
C++ |
| 1598. Crawler Log Folder |
Easy |
C C++ |
| 1600. Throne Inheritance |
Medium |
C++ |
| 1603. Design Parking System |
Easy |
C++ |
| 1605. Find Valid Matrix Given Row and Column Sums |
Medium |
C C++ |
| 1608. Special Array With X Elements Greater Than or Equal X |
Easy |
C C++ |
| 1609. Even Odd Tree |
Medium |
C++ |
| 1611. Minimum One Bit Operations to Make Integers Zero |
Hard |
C C++ |
| 1614. Maximum Nesting Depth of the Parentheses |
Easy |
C++ C |
| 1619. Mean of Array After Removing Some Elements |
Easy |
C C++ |
| 1624. Largest Substring Between Two Equal Characters |
Easy |
C C++ |
| 1625. Lexicographically Smallest String After Applying Operations |
Medium |
C++ |
| 1627. Graph Connectivity With Threshold |
Hard |
C C++ |
| 1630. Arithmetic Subarrays |
Medium |
C C++ |
| 1636. Sort Array by Increasing Frequency |
Easy |
C C++ |
| 1637. Widest Vertical Area Between Two Points Containing No Points |
Medium |
C C++ |
| 1638. Count Substrings That Differ by One Character |
Medium |
C C++ |
| 1639. Number of Ways to Form a Target String Given a Dictionary |
Hard |
C C++ |
| 1641. Count Sorted Vowel Strings |
Medium |
C C++ |
| 1642. Furthest Building You Can Reach |
Medium |
C++ |
| 1652. Defuse the Bomb |
Medium |
C C++ |
| 1653. Minimum Deletions to Make String Balanced |
Medium |
C C++ |
| 1656. Design an Ordered Stream |
Easy |
C++ |
| 1657. Determine if Two Strings Are Close |
Medium |
C C++ |
| 1658. Minimum Operations to Reduce X to Zero |
Medium |
C++ |
| 1662. Check If Two String Arrays are Equivalent |
Easy |
C C++ |
| 1663. Smallest String With A Given Numeric Value |
Medium |
C C++ |
| 1668. Maximum Repeating Substring |
Easy |
C C++ |
| 1669. Merge In Between Linked Lists |
Medium |
C++ |
| 1671. Minimum Number of Removals to Make Mountain Array |
Hard |
C++ |
| 1672. Richest Customer Wealth |
Easy |
C C++ |
| 1678. Goal Parser Interpretation |
Easy |
C C++ |
| 1684. Count the Number of Consistent Strings |
Easy |
C++ |
| 1685. Sum of Absolute Differences in a Sorted Array |
Medium |
C C++ |
| 1686. Stone Game VI |
Medium |
C C++ |
| 1688. Count of Matches in Tournament |
Easy |
C C++ |
| 1689. Partitioning Into Minimum Number Of Deci-Binary Numbers |
Medium |
C C++ |
| 1690. Stone Game VII |
Medium |
C C++ |
| 1695. Maximum Erasure Value |
Medium |
C C++ |
| 1700. Number of Students Unable to Eat Lunch |
Easy |
C C++ |
| 1701. Average Waiting Time |
Medium |
C C++ |
| 1704. Determine if String Halves Are Alike |
Easy |
C C++ |
| 1706. Where Will the Ball Fall |
Medium |
C C++ |
| 1710. Maximum Units on a Truck |
Easy |
C C++ |
| 1716. Calculate Money in Leetcode Bank |
Easy |
C C++ |
| 1717. Maximum Score From Removing Substrings |
Medium |
C C++ |
| 1718. Construct the Lexicographically Largest Valid Sequence |
Medium |
C C++ |
| 1720. Decode XORed Array |
Easy |
C C++ |
| 1721. Swapping Nodes in a Linked List |
Medium |
C++ |
| 1723. Find Minimum Time to Finish All Jobs |
Hard |
C++ |
| 1725. Number Of Rectangles That Can Form The Largest Square |
Easy |
C C++ |
| 1726. Tuple with Same Product |
Medium |
C C++ |
| 1727. Largest Submatrix With Rearrangements |
Medium |
C C++ |
| 1732. Find the Highest Altitude |
Easy |
C C++ |
| 1733. Minimum Number of People to Teach |
Medium |
C C++ |
| 1742. Maximum Number of Balls in a Box |
Easy |
C C++ |
| 1743. Restore the Array From Adjacent Pairs |
Medium |
C++ |
| 1748. Sum of Unique Elements |
Easy |
C C++ |
| 1749. Maximum Absolute Sum of Any Subarray |
Medium |
C C++ |
| 1750. Minimum Length of String After Deleting Similar Ends |
Medium |
C C++ |
| 1751. Maximum Number of Events That Can Be Attended II |
Hard |
C C++ |
| 1752. Check if Array Is Sorted and Rotated |
Easy |
C C++ |
| 1753. Maximum Score From Removing Stones |
Medium |
C C++ |
| 1758. Minimum Changes To Make Alternating Binary String |
Easy |
C C++ |
| 1759. Count Number of Homogenous Substrings |
Medium |
C C++ |
| 1760. Minimum Limit of Balls in a Bag |
Medium |
C C++ |
| 1765. Map of Highest Peak |
Medium |
C C++ |
| 1768. Merge Strings Alternately |
Easy |
C C++ |
| 1769. Minimum Number of Operations to Move All Balls to Each Box |
Medium |
C C++ |
| 1770. Maximum Score from Performing Multiplication Operations |
Hard |
C C++ |
| 1773. Count Items Matching a Rule |
Easy |
C C++ |
| 1779. Find Nearest Point That Has the Same X or Y Coordinate |
Easy |
C C++ |
| 1780. Check if Number is a Sum of Powers of Three |
Medium |
C C++ |
| 1781. Sum of Beauty of All Substrings |
Medium |
C C++ |
| 1790. Check if One String Swap Can Make Strings Equal |
Easy |
C C++ |
| 1791. Find Center of Star Graph |
Easy |
C C++ |
| 1792. Maximum Average Pass Ratio |
Medium |
C++ |
| 1793. Maximum Score of a Good Subarray |
Hard |
C C++ |
| 1798. Maximum Number of Consecutive Values You Can Make |
Medium |
C C++ |
| 1800. Maximum Ascending Subarray Sum |
Easy |
C C++ |
| 1812. Determine Color of a Chessboard Square |
Easy |
C C++ |
| 1813. Sentence Similarity III |
Medium |
C C++ |
| 1814. Count Nice Pairs in an Array |
Medium |
C++ |
| 1816. Truncate Sentence |
Easy |
C C++ |
| 1817. Finding the Users Active Minutes |
Medium |
C C++ |
| 1823. Find the Winner of the Circular Game |
Medium |
C C++ |
| 1827. Minimum Operations to Make the Array Increasing |
Easy |
C C++ |
| 1828. Queries on Number of Points Inside a Circle |
Medium |
C C++ |
| 1829. Maximum XOR for Each Query |
Medium |
C C++ |
| 1832. Check if the Sentence Is Pangram |
Easy |
C C++ |
| 1833. Maximum Ice Cream Bars |
Medium |
C C++ |
| 1837. Sum of Digits in Base K |
Easy |
C C++ |
| 1838. Frequency of the Most Frequent Element |
Medium |
C++ |
| 1844. Replace All Digits with Characters |
Easy |
C C++ |
| 1845. Seat Reservation Manager |
Medium |
C++ |
| 1846. Maximum Element After Decreasing and Rearranging |
Medium |
C C++ |
| 1859. Sorting the Sentence |
Easy |
C C++ |
| 1860. Incremental Memory Leak |
Medium |
C C++ |
| 1861. Rotating the Box |
Medium |
C C++ |
| 1863. Sum of All Subset XOR Totals |
Easy |
C C++ |
| 1865. Finding Pairs With a Certain Sum |
Medium |
C++ |
| 1876. Substrings of Size Three with Distinct Characters |
Easy |
C C++ |
| 1877. Minimize Maximum Pair Sum in Array |
Medium |
C++ C++ |
| 1880. Check if Word Equals Summation of Two Words |
Easy |
C C++ |
| 1884. Egg Drop With 2 Eggs and N Floors |
Medium |
C C++ |
| 1887. Reduction Operations to Make the Array Elements Equal |
Medium |
C C++ |
| 1888. Minimum Number of Flips to Make the Binary String Alternating |
Medium |
C C++ |
| 1893. Check if All the Integers in a Range Are Covered |
Easy |
C C++ |
| 1894. Find the Student that Will Replace the Chalk |
Medium |
C C++ |
| 1895. Largest Magic Square |
Medium |
C C++ |
| 1897. Redistribute Characters to Make All Strings Equal |
Easy |
C C++ |
| 1899. Merge Triplets to Form Target Triplet |
Medium |
C C++ |
| 1903. Largest Odd Number in String |
Easy |
C C++ |
| 1904. The Number of Full Rounds You Have Played |
Medium |
C C++ |
| 1905. Count Sub Islands |
Medium |
C C++ |
| 1906. Minimum Absolute Difference Queries |
Medium |
C C++ |
| 1909. Remove One Element to Make the Array Strictly Increasing |
Easy |
C C++ |
| 1910. Remove All Occurrences of a Substring |
Medium |
C C++ |
| 1913. Maximum Product Difference Between Two Pairs |
Easy |
C C++ |
| 1915. Number of Wonderful Substrings |
Medium |
C C++ |
| 1920. Build Array from Permutation |
Easy |
C C++ |
| 1921. Eliminate Maximum Number of Monsters |
Medium |
C C++ |
| 1922. Count Good Numbers |
Medium |
C C++ |
| 1925. Count Square Sum Triples |
Easy |
C C++ |
| 1929. Concatenation of Array |
Easy |
C C++ |
| 1930. Unique Length-3 Palindromic Subsequences |
Medium |
C C++ |
| 1935. Maximum Number of Words You Can Type |
Easy |
C C++ |
| 1936. Add Minimum Number of Rungs |
Medium |
C C++ |
| 1937. Maximum Number of Points with Cost |
Medium |
C C++ |
| 1941. Check if All Characters Have Equal Number of Occurrences |
Easy |
C C++ |
| 1942. The Number of the Smallest Unoccupied Chair |
Medium |
C++ |
| 1944. Number of Visible People in a Queue |
Hard |
C C++ |
| 1945. Sum of Digits of String After Convert |
Easy |
C C++ |
| 1957. Delete Characters to Make Fancy String |
Easy |
C C++ |
| 1963. Minimum Number of Swaps to Make the String Balanced |
Medium |
C C++ |
| 1967. Number of Strings That Appear as Substrings in Word |
Easy |
C C++ |
| 1970. Last Day Where You Can Still Cross |
Hard |
C++ |
| 1971. Find if Path Exists in Graph |
Easy |
C C++ |
| 1974. Minimum Time to Type Word Using Special Typewriter |
Easy |
C C++ |
| 1975. Maximum Matrix Sum |
Medium |
C C++ |
| 1976. Number of Ways to Arrive at Destination |
Medium |
C++ |
| 1979. Find Greatest Common Divisor of Array |
Easy |
C C++ |
| 1980. Find Unique Binary String |
Medium |
C++ |
| 1991. Find the Middle Index in Array |
Easy |
C C++ |
| 1992. Find All Groups of Farmland |
Medium |
C C++ |
| 1995. Count Special Quadruplets |
Easy |
C C++ |
| 2000. Reverse Prefix of Word |
Easy |
C C++ |
| 2001. Number of Pairs of Interchangeable Rectangles |
Medium |
C C++ |
| 2006. Count Number of Pairs With Absolute Difference K |
Easy |
C C++ |
| 2009. Minimum Number of Operations to Make Array Continuous |
Hard |
C++ |
| 2016. Maximum Difference Between Increasing Elements |
Easy |
C C++ |
| 2011. Final Value of Variable After Performing Operations |
Easy |
C C++ |
| 2017. Grid Game |
Medium |
C C++ |
| 2018. Check if Word Can Be Placed In Crossword |
Medium |
C C++ |
| 2022. Convert 1D Array Into 2D Array |
Medium |
C C++ |
| 2023. Number of Pairs of Strings With Concatenation Equal to Target |
Medium |
C C++ |
| 2024. Maximize the Confusion of an Exam |
Medium |
C C++ |
| 2028. Find Missing Observations |
Medium |
C C++ |
| 2032. Two Out of Three |
Easy |
C C++ |
| 2033. Minimum Operations to Make a Uni-Value Grid |
Medium |
C C++ |
| 2037. Minimum Number of Moves to Seat Everyone |
Easy |
C C++ |
| 2038. Remove Colored Pieces if Both Neighbors are the Same Color |
Medium |
C C++ |
| 2042. Check if Numbers Are Ascending in a Sentence |
Easy |
C C++ |
| 2043. Simple Bank System |
Medium |
C++ |
| 2044. Count Number of Maximum Bitwise-OR Subsets |
Medium |
C C++ |
| 2048. Next Greater Numerically Balanced Number |
Medium |
C C++ |
| 2050. Parallel Courses III |
Hard |
C++ |
| 2053. Kth Distinct String in an Array |
Easy |
C++ |
| 2054. Two Best Non-Overlapping Events |
Medium |
C C++ |
| 2057. Smallest Index With Equal Value |
Easy |
C C++ |
| 2058. Find the Minimum and Maximum Number of Nodes Between Critical Points |
Medium |
C++ |
| 2062. Count Vowel Substrings of a String |
Easy |
C C++ |
| 2064. Minimized Maximum of Products Distributed to Any Store |
Medium |
C C++ |
| 2070. Most Beautiful Item for Each Query |
Medium |
C C++ |
| 2071. Maximum Number of Tasks You Can Assign |
Hard |
C C++ |
| 2073. Time Needed to Buy Tickets |
Easy |
C C++ |
| 2079. Watering Plants |
Medium |
C C++ |
| 2081. Sum of k-Mirror Numbers |
Hard |
C C++ |
| 2085. Count Common Words With One Occurrence |
Easy |
C++ |
| 2089. Find Target Indices After Sorting Array |
Easy |
C C++ |
| 2092. Find All People With Secret |
Hard |
C C++ |
| 2094. Finding 3-Digit Even Numbers |
Easy |
C C++ |
| 2096. Step-By-Step Directions From a Binary Tree Node to Another |
Medium |
C++ |
| 2099. Find Subsequence of Length K With the Largest Sum |
Easy |
C C++ |
| 2103. Rings and Rods |
Easy |
C C++ |
| 2108. Find First Palindromic String in the Array |
Easy |
C C++ |
| 2109. Adding Spaces to a String |
Medium |
C C++ |
| 2110. Number of Smooth Descent Periods of a Stock |
Medium |
C C++ |
| 2114. Maximum Number of Words Found in Sentences |
Easy |
C C++ |
| 2115. Find All Possible Recipes from Given Supplies |
Medium |
C++ |
| 2116. Check if a Parentheses String Can Be Valid |
Medium |
C++ |
| 2119. A Number After a Double Reversal |
Easy |
C C++ |
| 2120. Execution of All Suffix Instructions Staying in a Grid |
Medium |
C C++ |
| 2124. Check if All A's Appears Before All B's |
Easy |
C C++ |
| 2125. Number of Laser Beams in a Bank |
Medium |
C C++ |
| 2129. Capitalize the Title |
Easy |
C++ |
| 2130. Maximum Twin Sum of a Linked List |
Medium |
C++ |
| 2131. Longest Palindrome by Concatenating Two Letter Words |
Medium |
C++ |
| 2134. Minimum Swaps to Group All 1's Together II |
Medium |
C C++ |
| 2135. Count Words Obtained After Adding a Letter |
Medium |
C C++ |
| 2136. Earliest Possible Day of Full Bloom |
Hard |
C C++ |
| 2138. Divide a String Into Groups of Size k |
Easy |
C++ |
| 2140. Solving Questions With Brainpower |
Medium |
C C++ |
| 2141. Maximum Running Time of N Computers |
Hard |
C C++ |
| 2144. Minimum Cost of Buying Candies With Discount |
Easy |
C C++ |
| 2145. Count the Hidden Sequences |
Medium |
C C++ |
| 2147. Number of Ways to Divide a Long Corridor |
Hard |
C C++ |
| 2149. Rearrange Array Elements by Sign |
Medium |
C C++ |
| 2154. Keep Multiplying Found Values by Two |
Easy |
C C++ |
| 2160. Minimum Sum of Four Digit Number After Splitting Digits |
Easy |
C C++ |
| 2161. Partition Array According to Given Pivot |
Medium |
C C++ |
| 2165. Smallest Value of the Rearranged Number |
Medium |
C C++ |
| 2169. Count Operations to Obtain Zero |
Easy |
C C++ |
| 2170. Minimum Operations to Make the Array Alternating |
Medium |
C++ |
| 2176. Count Equal and Divisible Pairs in an Array |
Easy |
C C++ |
| 2179. Count Good Triplets in an Array |
Hard |
C C++ |
| 2180. Count Integers With Even Digit Sum |
Easy |
C C++ |
| 2181. Merge Nodes in Between Zeros |
Medium |
C++ |
| 2182. Construct String With Repeat Limit |
Medium |
C C++ |
| 2185. Counting Words With a Given Prefix |
Easy |
C C++ |
| 2191. Sort the Jumbled Numbers |
Medium |
C C++ |
| 2192. All Ancestors of a Node in a Directed Acyclic Graph |
Medium |
C++ |
| 2194. Cells in a Range on an Excel Sheet |
Easy |
C C++ |
| 2196. Create Binary Tree From Descriptions |
Medium |
C++ |
| 2197. Replace Non-Coprime Numbers in Array |
Hard |
C++ |
| 2200. Find All K-Distant Indices in an Array |
Easy |
C C++ |
| 2206. Divide Array Into Equal Pairs |
Easy |
C C++ |
| 2210. Count Hills and Valleys in an Array |
Easy |
C C++ |
| 2211. Count Collisions on a Road |
Medium |
C C++ |
| 2215. Find the Difference of Two Arrays |
Easy |
C C++ |
| 2216. Minimum Deletions to Make Array Beautiful |
Medium |
C C++ |
| 2220. Minimum Bit Flips to Convert Number |
Easy |
C C++ |
| 2221. Find Triangular Sum of an Array |
Medium |
C C++ |
| 2225. Find Players With Zero or One Losses |
Medium |
C++ |
| 2232. Minimize Result by Adding Parentheses to Expression |
Medium |
C C++ |
| 2235. Add Two Integers |
Easy |
C C++ |
| 2236. Root Equals Sum of Children |
Easy |
C++ |
| 2248. Intersection of Multiple Arrays |
Easy |
C C++ |
| 2251. Number of Flowers in Full Bloom |
Hard |
C++ |
| 2255. Count Prefixes of a Given String |
Easy |
C C++ |
| 2257. Count Unguarded Cells in the Grid |
Medium |
C C++ |
| 2264. Largest 3-Same-Digit Number in String |
Easy |
C C++ |
| 2226. Maximum Candies Allocated to K Children |
Medium |
C C++ |
| 2270. Number of Ways to Split Array |
Medium |
C C++ |
| 2275. Largest Combination With Bitwise AND Greater Than Zero |
Medium |
C C++ |
| 2278. Percentage of Letter in String |
Easy |
C C++ |
| 2279. Maximum Bags With Full Capacity of Rocks |
Medium |
C C++ |
| 2283. Check if Number Has Equal Digit Count and Digit Value |
Easy |
C C++ |
| 2285. Maximum Total Importance of Roads |
Medium |
C C++ |
| 2290. Minimum Obstacle Removal to Reach Corner |
Hard |
C++ |
| 2294. Partition Array Such That Maximum Difference Is K |
Medium |
C C++ |
| 2300. Successful Pairs of Spells and Potions |
Medium |
C C++ |
| 2302. Count Subarrays With Score Less Than K |
Hard |
C C++ |
| 2303. Calculate Amount Paid in Taxes |
Easy |
C C++ |
| 2305. Fair Distribution of Cookies |
Medium |
C C++ |
| 2309. Greatest English Letter in Upper and Lower Case |
Easy |
C C++ |
| 2311. Longest Binary Subsequence Less Than or Equal to K |
Medium |
C C++ |
| 2315. Count Asterisks |
Easy |
C C++ |
| 2317. Maximum XOR After Operations |
Medium |
C C++ |
| 2325. Decode the Message |
Easy |
C C++ |
| 2326. Spiral Matrix IV |
Medium |
C++ |
| 2327. Number of People Aware of a Secret |
Medium |
C C++ |
| 2331. Evaluate Boolean Binary Tree |
Easy |
C++ |
| 2337. Move Pieces to Obtain a String |
Medium |
C C++ |
| 2341. Maximum Number of Pairs in Array |
Easy |
C C++ |
| 2342. Max Sum of a Pair With Equal Sum of Digits |
Medium |
C C++ |
| 2347. Best Poker Hand |
Easy |
C C++ |
| 2348. Number of Zero-Filled Subarrays |
Medium |
C C++ |
| 2350. Shortest Impossible Sequence of Rolls |
Hard |
C C++ |
| 2351. First Letter to Appear Twice |
Easy |
C C++ |
| 2352. Equal Row and Column Pairs |
Medium |
C C++ |
| 2353. Design a Food Rating System |
Medium |
C++ |
| 2363. Merge Similar Items |
Easy |
C C++ |
| 2357. Make Array Zero by Subtracting Equal Amounts |
Easy |
C C++ |
| 2358. Maximum Number of Groups Entering a Competition |
Medium |
C C++ |
| 2359. Find Closest Node to Given Two Nodes |
Medium |
C C++ |
| 2364. Count Number of Bad Pairs |
Medium |
C C++ |
| 2367. Number of Arithmetic Triplets |
Easy |
C C++ |
| 2370. Longest Ideal Subsequence |
Medium |
C C++ |
| 2373. Largest Local Values in a Matrix |
Easy |
C C++ |
| 2375. Construct Smallest Number From DI String |
Medium |
C C++ |
| 2379. Minimum Recolors to Get K Consecutive Black Blocks |
Easy |
C C++ |
| 2380. Time Needed to Rearrange a Binary String |
Medium |
C++ |
| 2381. Shifting Letters II |
Medium |
C C++ |
| 2385. Amount of Time for Binary Tree to Be Infected |
Medium |
C++ |
| 2389. Longest Subsequence With Limited Sum |
Medium |
C C++ |
| 2390. Removing Stars From a String |
Medium |
C C++ |
| 2391. Minimum Amount of Time to Collect Garbage |
Medium |
C C++ |
| 2396. Strictly Palindromic Number |
Medium |
C C++ |
| 2399. Check Distances Between Same Letters |
Easy |
C C++ |
| 2938. Separate Black and White Balls |
Medium |
C++ |
| 2942. Find Words Containing Character |
Easy |
C C++ |
| 2943. Maximize Area of Square Hole in Grid |
Medium |
C C++ |
| 2401. Longest Nice Subarray |
Medium |
C C++ |
| 2402. Meeting Rooms III |
Hard |
C C++ |
| 2405. Optimal Partition of String |
Medium |
C C++ |
| 2406. Divide Intervals Into Minimum Number of Groups |
Medium |
C C++ |
| 2410. Maximum Matching of Players With Trainers |
Medium |
C C++ |
| 2411. Smallest Subarrays With Maximum Bitwise OR |
Medium |
C C++ |
| 2413. Smallest Even Multiple |
Easy |
C C++ |
| 2415. Reverse Odd Levels of Binary Tree |
Medium |
C++ |
| 2416. Sum of Prefix Scores of Strings |
Hard |
C C++ |
| 2418. Sort the People |
Easy |
C C++ |
| 2419. Longest Subarray With Maximum Bitwise AND |
Medium |
C C++ |
| 2423. Remove Letter To Equalize Frequency |
Easy |
C C++ |
| 2424. Longest Uploaded Prefix |
Medium |
C++ |
| 2425. Bitwise XOR of All Pairings |
Medium |
C C++ |
| 2427. Number of Common Factors |
Medium |
C C++ |
| 2428. Maximum Sum of an Hourglass |
Medium |
C C++ |
| 2429. Minimize XOR |
Medium |
C C++ |
| 2433. Find The Original Array of Prefix Xor |
Medium |
C++ |
| 2434. Using a Robot to Print the Lexicographically Smallest String |
Medium |
C C++ |
| 2435. Paths in Matrix Whose Sum Is Divisible by K |
Hard |
C C++ |
| 2441. Largest Positive Integer That Exists With Its Negative |
Easy |
C C++ |
| 2442. Count Number of Distinct Integers After Reverse Operations |
Medium |
C C++ |
| 2444. Count Subarrays With Fixed Bounds |
Hard |
C C++ |
| 2460. Apply Operations to an Array |
Easy |
C C++ |
| 2461. Maximum Sum of Distinct Subarrays With Length K |
Medium |
C C++ |
| 2463. Minimum Total Distance Traveled |
Hard |
C++ |
| 2466. Count Ways To Build Good Strings |
Medium |
C C++ |
| 2467. Most Profitable Path in a Tree |
Medium |
C C++ |
| 2469. Convert the Temperature |
Easy |
C C++ |
| 2475. Number of Unequal Triplets in Array |
Easy |
C C++ |
| 2481. Minimum Cuts to Divide a Circle |
Easy |
C C++ |
| 2482. Difference Between Ones and Zeros in Row and Column |
Medium |
C C++ |
| 2483. Minimum Penalty for a Shop |
Medium |
C C++ |
| 2485. Find the Pivot Integer |
Easy |
C C++ |
| 2486. Append Characters to String to Make Subsequence |
Medium |
C C++ |
| 2487. Remove Nodes From Linked List |
Medium |
C++ |
| 2490. Circular Sentence |
Easy |
C C++ |
| 2491. Divide Players Into Teams of Equal Skill |
Medium |
C C++ |
| 2493. Divide Nodes Into the Maximum Number of Groups |
Hard |
C++ |
| 2496. Maximum Value of a String in an Array |
Easy |
C C++ |
| 2497. Maximum Star Sum of a Graph |
Medium |
C++ |
| 2500. Delete Greatest Value in Each Row |
Easy |
C C++ |
| 2501. Longest Square Streak in an Array |
Medium |
C C++ |
| 2503. Maximum Number of Points From Grid Queries |
Hard |
C C++ |
| 2506. Count Pairs Of Similar Strings |
Easy |
C++ |
| 2511. Maximum Enemy Forts That Can Be Captured |
Easy |
C C++ |
| 2516. Take K of Each Character From Left and Right |
Medium |
C++ |
| 2517. Maximum Tastiness of Candy Basket |
Medium |
C C++ |
| 2520. Count the Digits That Divide a Number |
Easy |
C C++ |
| 2523. Closest Prime Numbers in Range |
Medium |
C C++ |
| 2525. Categorize Box According to Criteria |
Easy |
C C++ |
| 2527. Find Xor-Beauty of Array |
Medium |
C C++ |
| 2528. Maximize the Minimum Powered City |
Hard |
C C++ |
| 2529. Maximum Count of Positive Integer and Negative Integer |
Easy |
C C++ |
| 2530. Maximal Score After Applying K Operations |
Medium |
C++ |
| 2531. Make Number of Distinct Characters Equal |
Medium |
C C++ |
| 2535. Difference Between Element Sum and Digit Sum of an Array |
Easy |
C C++ |
| 2536. Increment Submatrices by One |
Medium |
C C++ |
| 2537. Count the Number of Good Subarrays |
Medium |
C++ |
| 2540. Minimum Common Value |
Easy |
C C++ |
| 2544. Alternating Digit Sum |
Easy |
C C++ |
| 2545. Sort the Students by Their Kth Score |
Medium |
C C++ |
| 2349. Design a Number Container System |
Medium |
C++ |
| 2551. Put Marbles in Bags |
Hard |
C C++ |
| 2553. Separate the Digits in an Array |
Easy |
C C++ |
| 2554. Maximum Number of Integers to Choose From a Range I |
Medium |
C C++ |
| 2558. Take Gifts From the Richest Pile |
Easy |
C++ |
| 2559. Count Vowel Strings in Ranges |
Medium |
C C++ |
| 2560. House Robber IV |
Medium |
C C++ |
| 2562. Find the Array Concatenation Value |
Easy |
C C++ |
| 2563. Count the Number of Fair Pairs |
Medium |
C C++ |
| 2566. Maximum Difference by Remapping a Digit |
Easy |
C C++ |
| 2570. Merge Two 2D Arrays by Summing Values |
Easy |
C C++ |
| 2574. Left and Right Sum Differences |
Easy |
C C++ |
| 2577. Minimum Time to Visit a Cell In a Grid |
Hard |
C++ |
| 2578. Split With Minimum Sum |
Easy |
C C++ |
| 2579. Count Total Number of Colored Cells |
Medium |
C C++ |
| 2582. Pass the Pillow |
Easy |
C C++ |
| 2583. Kth Largest Sum in a Binary Tree |
Medium |
C++ |
| 2586. Count the Number of Vowel Strings in Range |
Easy |
C C++ |
| 2593. Find Score of an Array After Marking All Elements |
Medium |
C C++ |
| 2594. Minimum Time to Repair Cars |
Medium |
C C++ |
| 2595. Number of Even and Odd Bits |
Medium |
C C++ |
| 2597. The Number of Beautiful Subsets |
Medium |
C C++ |
| 2598. Smallest Missing Non-negative Integer After Operations |
Medium |
C C++ |
| 2601. Prime Subtraction Operation |
Medium |
C C++ |
| 2605. Form Smallest Number From Two Digit Arrays |
Easy |
C C++ |
| 2610. Convert an Array Into a 2D Array With Conditions |
Medium |
C++ |
| 2616. Minimize the Maximum Difference of Pairs |
Medium |
C C++ |
| 2639. Find the Width of Columns of a Grid |
Easy |
C C++ |
| 2640. Find the Score of All Prefixes of an Array |
Medium |
C C++ |
| 2641. Cousins in Binary Tree II |
Medium |
C++ |
| 2642. Design Graph With Shortest Path Calculator |
Hard |
C++ |
| 2643. Row With Maximum Ones |
Easy |
C C++ |
| 2651. Calculate Delayed Arrival Time |
Easy |
C C++ |
| 2652. Sum Multiples |
Easy |
C C++ |
| 2654. Minimum Number of Operations to Make All Array Elements Equal to 1 |
Medium |
C C++ |
| 2656. Maximum Sum With Exactly K Elements |
Easy |
C C++ |
| 2657. Find the Prefix Common Array of Two Arrays |
Medium |
C C++ |
| 2658. Maximum Number of Fish in a Grid |
Medium |
C C++ |
| 2661. First Completely Painted Row or Column |
Medium |
C C++ |
| 2670. Find the Distinct Difference Array |
Easy |
C C++ |
| 2678. Number of Senior Citizens |
Easy |
C C++ |
| 2683. Neighboring Bitwise XOR |
Medium |
C C++ |
| 2684. Maximum Number of Moves in a Grid |
Medium |
C C++ |
| 2685. Count the Number of Complete Components |
Medium |
C++ |
| 2696. Minimum String Length After Removing Substrings |
Easy |
C C++ |
| 2697. Lexicographically Smallest Palindrome |
Easy |
C C++ |
| 2698. Find the Punishment Number of an Integer |
Medium |
C C++ |
| 2706. Buy Two Chocolates |
Easy |
C C++ |
| 2707. Extra Characters in a String |
Medium |
C C++ |
| 2710. Remove Trailing Zeros From a String |
Easy |
C C++ |
| 2711. Difference of Number of Distinct Values on Diagonals |
Medium |
C++ |
| 2716. Minimize String Length |
Easy |
C C++ |
| 2733. Neither Minimum nor Maximum |
Easy |
C C++ |
| 2742. Painting the Walls |
Hard |
C++ |
| 2744. Find Maximum Number of String Pairs |
Easy |
C C++ |
| 2747. Count Zero Request Servers |
Medium |
C C++ |
| 2748. Number of Beautiful Pairs |
Easy |
C C++ |
| 2749. Minimum Operations to Make the Integer Zero |
Medium |
C C++ |
| 2751. Robot Collisions |
Hard |
C C++ |
| 2762. Continuous Subarrays |
Medium |
C C++ |
| 2769. Find the Maximum Achievable Number |
Easy |
C C++ |
| 2770. Maximum Number of Jumps to Reach the Last Index |
Medium |
C C++ |
| 2778. Sum of Squares of Special Elements |
Easy |
C C++ |
| 2779. Maximum Beauty of an Array After Applying Operation |
Medium |
C C++ |
| 2780. Minimum Index of a Valid Split |
Medium |
C C++ |
| 2785. Sort Vowels in a String |
Medium |
C C++ |
| 2788. Split Strings by Separator |
Easy |
C C++ |
| 2798. Number of Employees Who Met the Target |
Easy |
C C++ |
| 2799. Count Complete Subarrays in an Array |
Medium |
C C++ |
| 2807. Insert Greatest Common Divisors in Linked List |
Medium |
C++ |
| 2810. Faulty Keyboard |
Easy |
C C++ |
| 2812. Find the Safest Path in a Grid |
Medium |
C++ |
| 2816. Double a Number Represented as a Linked List |
Medium |
C++ |
| 2818. Apply Operations to Maximize Score |
Hard |
C++ |
| 2824. Count Pairs Whose Sum is Less than Target |
Easy |
C C++ |
| 2825. Make String a Subsequence Using Cyclic Increments |
Medium |
C C++ |
| 2828. Check if a String Is an Acronym of Words |
Easy |
C++ |
| 2843. Count Symmetric Integers |
Easy |
C C++ |
| 2848. Points That Intersect With Cars |
Easy |
C C++ |
| 2845. Count of Interesting Subarrays |
Medium |
C++ |
| 2849. Determine if a Cell Is Reachable at a Given Time |
Medium |
C C++ |
| 2859. Sum of Values at Indices With K Set Bits |
Easy |
C C++ |
| 2864. Maximum Odd Binary Number |
Easy |
C C++ |
| 2870. Minimum Number of Operations to Make Array Empty |
Medium |
C++ |
| 2872. Maximum Number of K-Divisible Components |
Hard |
C C++ |
| 2873. Maximum Value of an Ordered Triplet I |
Easy |
C C++ |
| 2874. Maximum Value of an Ordered Triplet II |
Medium |
C C++ |
| 2894. Divisible and Non-divisible Sums Difference |
Easy |
C C++ |
| 2895. Minimum Processing Time |
Medium |
C C++ |
| 2900. Longest Unequal Adjacent Groups Subsequence I |
Easy |
C C++ |
| 2901. Longest Unequal Adjacent Groups Subsequence II |
Medium |
C C++ |
| 2908. Minimum Sum of Mountain Triplets I |
Easy |
C++ |
| 2913. Subarrays Distinct Element Sum of Squares I |
Easy |
C C++ |
| 2914. Minimum Number of Changes to Make Binary String Beautiful |
Medium |
C C++ |
| 2917. Find the K-or of an Array |
Easy |
C C++ |
| 2918. Minimum Equal Sum of Two Arrays After Replacing Zeros |
Medium |
C C++ |
| 2923. Find Champion I |
Easy |
C C++ |
| 2924. Find Champion II |
Medium |
C C++ |
| 2928. Distribute Candies Among Children I |
Easy |
C C++ |
| 2932. Maximum Strong Pair XOR I |
Easy |
C C++ |
| 2938. Separate Black and White Balls |
Medium |
C++ |
| 2940. Find Building Where Alice and Bob Can Meet |
Hard |
C C++ |
| 2948. Make Lexicographically Smallest Array by Swapping Elements |
Medium |
C C++ |
| 2951. Find the Peaks |
Easy |
C C++ |
| 2956. Find Common Elements Between Two Arrays |
Easy |
C C++ |
| 2958. Length of Longest Subarray With at Most K Frequency |
Medium |
C++ |
| 2960. Count Tested Devices After Test Operations |
Easy |
C C++ |
| 2962. Count Subarrays Where Max Element Appears at Least K Times |
Medium |
C C++ |
| 2965. Find Missing and Repeated Values |
Easy |
C C++ |
| 2966. Divide Array Into Arrays With Max Difference |
Medium |
C C++ |
| 2971. Find Polygon With the Largest Perimeter |
Medium |
C C++ |
| 2974. Minimum Number Game |
Easy |
C C++ |
| 2980. Check if Bitwise OR Has Trailing Zeros |
Easy |
C C++ |
| 2981. Find Longest Special Substring That Occurs Thrice I |
Medium |
C C++ |
| 2997. Minimum Number of Operations to Make Array XOR Equal to K |
Medium |
C C++ |
| 2998. Minimum Number of Operations to Make X and Y Equal |
Medium |
C C++ |
| 2999. Count the Number of Powerful Integers |
Medium |
C C++ |
| 3000. Maximum Area of Longest Diagonal Rectangle |
Easy |
C C++ |
| 3005. Count Elements With Maximum Frequency |
Easy |
C++ |
| 3007. Maximum Number That Sum of the Prices Is Less Than or Equal to K |
Medium |
C C++ |
| 3010. Divide an Array Into Subarrays With Minimum Cost I |
Easy |
C C++ |
| 3011. Find if Array Can Be Sorted |
Medium |
C C++ |
| 3014. Minimum Number of Pushes to Type Word I |
Easy |
C++ |
| 3016. Minimum Number of Pushes to Type Word II |
Medium |
C C++ |
| 3019. Number of Changing Keys |
Easy |
C C++ |
| 3021. Alice and Bob Playing Flower Game |
Medium |
C C++ |
| 3024. Type of Triangle |
Easy |
C C++ |
| 3025. Find the Number of Ways to Place People I |
Medium |
C C++ |
| 3027. Find the Number of Ways to Place People II |
Hard |
C C++ |
| 3028. Ant on the Boundary |
Easy |
C C++ |
| 3033. Modify the Matrix |
Easy |
C C++ |
| 3042. Count Prefix and Suffix Pairs I |
Easy |
C C++ |
| 3043. Find the Length of the Longest Common Prefix |
Medium |
C++ |
| 3046. Split the Array |
Easy |
C C++ |
| 3065. Minimum Operations to Exceed Threshold Value I |
Easy |
C C++ |
| 3066. Minimum Operations to Exceed Threshold Value II |
Medium |
C++ |
| 3068. Find the Maximum Sum of Node Values |
Hard |
C C++ |
| 3069. Distribute Elements Into Two Arrays I |
Easy |
C C++ |
| 3074. Apple Redistribution into Boxes |
Easy |
C C++ |
| 3075. Maximize Happiness of Selected Children |
Medium |
C C++ |
| 3079. Find the Sum of Encrypted Integers |
Easy |
C C++ |
| 3085. Minimum Deletions to Make String K-Special |
Medium |
C C++ |
| 3097. Shortest Subarray With OR at Least K II |
Medium |
C C++ |
| 3099. Harshad Number |
Easy |
C C++ |
| 3100. Water Bottles II |
Medium |
C C++ |
| 3105. Longest Strictly Increasing or Strictly Decreasing Subarray |
Easy |
C C++ |
| 3108. Minimum Cost Walk in Weighted Graph |
Hard |
C C++ |
| 3110. Score of a String |
Easy |
C C++ |
| 3131. Find the Integer Added to Array I |
Easy |
C C++ |
| 3133. Minimum Array End |
Medium |
C C++ |
| 3136. Valid Word |
Easy |
C C++ |
| 3137. Minimum Number of Operations to Make Word K-Periodic |
Medium |
C++ |
| 3146. Permutation Difference between Two Strings |
Easy |
C C++ |
| 3147. Taking Maximum Energy From the Mystic Dungeon |
Medium |
C C++ |
| 3151. Special Array I |
Easy |
C C++ |
| 3152. Special Array II |
Medium |
C++ |
| 3158. Find the XOR of Numbers Which Appear Twice |
Easy |
C C++ |
| 3159. Find Occurrences of an Element in an Array |
Medium |
C C++ |
| 3160. Find the Number of Distinct Colors Among the Balls |
Medium |
C++ |
| 3162. Find the Number of Good Pairs I |
Easy |
C C++ |
| 3174. Clear Digits |
Easy |
C C++ |
| 3163. String Compression III |
Medium |
C C++ |
| 3168. Minimum Number of Chairs in a Waiting Room |
Easy |
C C++ |
| 3169. Count Days Without Meetings |
Medium |
C C++ |
| 3170. Lexicographically Minimum String After Removing Stars |
Medium |
C C++ |
| 3184. Count Pairs That Form a Complete Day I |
Easy |
C C++ |
| 3186. Maximum Total Damage With Spell Casting |
Medium |
C C++ |
| 3190. Find Minimum Operations to Make All Elements Divisible by Three |
Easy |
C C++ |
| 3191. Minimum Operations to Make Binary Array Elements Equal to One I |
Medium |
C C++ |
| 3194. Minimum Average of Smallest and Largest Elements |
Easy |
C C++ |
| 3195. Find the Minimum Area to Cover All Ones I |
Medium |
C C++ |
| 3201. Find the Maximum Length of Valid Subsequence I |
Medium |
C C++ |
| 3202. Find the Maximum Length of Valid Subsequence II |
Medium |
C C++ |
| 3206. Alternating Groups I |
Easy |
C C++ |
| 3208. Alternating Groups II |
Medium |
C C++ |
| 3211. Generate Binary Strings Without Adjacent Zeros |
Medium |
C C++ |
| 3217. Delete Nodes From Linked List Present in Array |
Medium |
C++ |
| 3223. Minimum Length of String After Operations |
Medium |
C C++ |
| 3227. Vowels Game in a String |
Medium |
C C++ |
| 3228. Maximum Number of Operations to Move Ones to the End |
Medium |
C C++ |
| 3232. Find if Digit Game Can Be Won |
Easy |
C C++ |
| 3239. Minimum Number of Flips to Make Binary Grid Palindromic I |
Medium |
C C++ |
| 3242. Design Neighbor Sum Service |
Easy |
C++ |
| 3243. Shortest Distance After Road Addition Queries I |
Medium |
C++ |
| 3248. Snake in Matrix |
Easy |
C C++ |
| 3254. Find the Power of K-Size Subarrays I |
Medium |
C C++ |
| 3258. Count Substrings That Satisfy K-Constraint I |
Easy |
C C++ |
| 3264. Final Array State After K Multiplication Operations I |
Easy |
C C++ |
| 3270. Find the Key of the Numbers |
Easy |
C C++ |
| 3271. Hash Divided String |
Medium |
C C++ |
| 3272. Find the Count of Good Integers |
Hard |
C++ |
| 3274. Check if Two Chessboard Squares Have the Same Color |
Easy |
C C++ |
| 3280. Convert Date to Binary |
Easy |
C C++ |
| 3285. Find Indices of Stable Mountains |
Easy |
C C++ |
| 3289. The Two Sneaky Numbers of Digitville |
Easy |
C C++ |
| 3300. Minimum Element After Replacement With Digit Sum |
Easy |
C++ |
| 3304. Find the K-th Character in String Game I |
Easy |
C C++ |
| 3307. Find the K-th Character in String Game II |
Hard |
C C++ |
| 3314. Construct the Minimum Bitwise Array I |
Easy |
C C++ |
| 3318. Find X-Sum of All K-Long Subarrays I |
Easy |
C C++ |
| 3324. Find the Sequence of Strings Appeared on the Screen |
Medium |
C C++ |
| 3330. Find the Original Typed String I |
Easy |
C C++ |
| 3335. Total Characters in String After Transformations I |
Medium |
C C++ |
| 3337. Total Characters in String After Transformations II |
Hard |
C++ |
| 3340. Check Balanced String |
Easy |
C C++ |
| 3341. Find Minimum Time to Reach Last Room I |
Medium |
C C++ |
| 3342. Find Minimum Time to Reach Last Room II |
Medium |
C C++ |
| 3343. Count Number of Balanced Permutations |
Hard |
C++ |
| 3346. Maximum Frequency of an Element After Performing Operations I |
Medium |
C C++ |
| 3347. Maximum Frequency of an Element After Performing Operations II |
Hard |
C C++ |
| 3349. Adjacent Increasing Subarrays Detection I |
Easy |
C C++ |
| 3350. Adjacent Increasing Subarrays Detection II |
Medium |
C C++ |
| 3354. Make Array Elements Equal to Zero |
Easy |
C C++ |
| 3355. Zero Array Transformation I |
Medium |
C C++ |
| 3356. Zero Array Transformation II |
Medium |
C C++ |
| 3362. Zero Array Transformation III |
Medium |
C C++ |
| 3370. Smallest Number With All Set Bits |
Easy |
C C++ |
| 3375. Minimum Operations to Make Array Values Equal to K |
Easy |
C C++ |
| 3381. Maximum Subarray Sum With Length Divisible by K |
Medium |
C C++ |
| 3392. Count Subarrays of Length Three With a Condition |
Easy |
C C++ |
| 3405. Count the Number of Arrays with K Matching Adjacent Elements |
Hard |
C C++ |
| 3396. Minimum Number of Operations to Make Elements in Array Distinct |
Easy |
C C++ |
| 3397. Maximum Number of Distinct Elements After Operations |
Medium |
C C++ |
| 3402. Minimum Operations to Make Columns Strictly Increasing |
Easy |
C C++ |
| 3403. Find the Lexicographically Largest String From the Box I |
Medium |
C C++ |
| 3408. Design Task Manager |
Medium |
C++ |
| 3423. Maximum Difference Between Adjacent Elements in a Circular Array |
Easy |
C C++ |
| 3427. Sum of Variable Length Subarrays |
Easy |
C C++ |
| 3432. Count Partitions with Even Sum Difference |
Easy |
C C++ |
| 3439. Reschedule Meetings for Maximum Free Time I |
Medium |
C C++ |
| 3440. Reschedule Meetings for Maximum Free Time II |
Medium |
C C++ |
| 3442. Maximum Difference Between Even and Odd Frequency I |
Easy |
C C++ |
| 3443. Maximum Manhattan Distance After K Changes |
Medium |
C C++ |
| 3445. Maximum Difference Between Even and Odd Frequency II |
Hard |
C C++ |
| 3446. Sort Matrix by Diagonals |
Medium |
C C++ |
| 3452. Sum of Good Numbers |
Easy |
C C++ |
| 3453. Separate Squares I |
Medium |
C C++ |
| 3461. Check If Digits Are Equal in String After Operations I |
Easy |
C C++ |
| 3467. Transform Array by Parity |
Easy |
C C++ |
| 3477. Fruits Into Baskets II |
Easy |
C C++ |
| 3483. Unique 3-Digit Even Numbers |
Easy |
C C++ |
| 3484. Design Spreadsheet |
Medium |
C++ |
| 3487. Maximum Unique Subarray Sum After Deletion |
Easy |
C++ |
| 3492. Maximum Containers on a Ship |
Easy |
C C++ |
| 3494. Find the Minimum Amount of Time to Brew Potions |
Medium |
C C++ |
| 3498. Reverse Degree of a String |
Easy |
C C++ |
| 3502. Minimum Cost to Reach Every Position |
Easy |
C C++ |
| 3508. Implement Router |
Medium |
C++ |
| 3512. Minimum Operations to Make Array Sum Divisible by K |
Easy |
C C++ |
| 3516. Find Closest Person |
Easy |
C C++ |
| 3527. Find the Most Common Response |
Medium |
C++ |
| 3531. Count Covered Buildings |
Medium |
C C++ |
| 3536. Maximum Product of Two Digits |
Easy |
C C++ |
| 3537. Fill a Special Grid |
Medium |
C C++ |
| 3541. Find Most Frequent Vowel and Consonant |
Easy |
C C++ |
| 3542. Minimum Operations to Convert All Elements to Zero |
Medium |
C C++ |
| 3545. Minimum Deletions for At Most K Distinct Characters |
Easy |
C C++ |
| 3550. Smallest Index With Digit Sum Equal to Index |
Easy |
C C++ |
| 3573. Best Time to Buy and Sell Stock V |
Medium |
C C++ |
| 3577. Count the Number of Computer Unlocking Permutations |
Medium |
C C++ |
| 3578. Count Partitions With Max-Min Difference at Most K |
Medium |
C C++ |
| 3583. Count Special Triplets |
Medium |
C C++ |
| 3602. Hexadecimal and Hexatrigesimal Conversion |
Easy |
C C++ |
| 3606. Coupon Code Validator |
Easy |
C C++ |
| 3622. Check Divisibility by Digit Sum and Product |
Easy |
C++ |
| 3637. Trionic Array I |
Easy |
C C++ |
| 3643. Flip Square Submatrix Vertically |
Easy |
C C++ |
| 3652. Best Time to Buy and Sell Stock using Strategy |
Medium |
C C++ |
| 3653. XOR After Range Multiplication Queries I |
Medium |
C C++ |
| 3658. GCD of Odd and Even Sums |
Easy |
C C++ |
| 3663. Find The Least Frequent Digit |
Easy |
C C++ |
| 3668. Restore Finishing Order |
Easy |
C C++ |
| 3683. Earliest Time to Finish One Task |
Easy |
C C++ |
| 3684. Maximize Sum of At Most K Distinct Elements |
Easy |
C C++ |
| 3688. Bitwise OR of Even Numbers in an Array |
Easy |
C C++ |
| 3692. Majority Frequency Characters |
Easy |
C++ |
| 3701. Compute Alternating Sum |
Easy |
C C++ |
| 3708. Longest Fibonacci Subarray |
Medium |
C C++ |
| 3712. Sum of Elements With Frequency Divisible by K |
Easy |
C C++ |
| 3719. Longest Balanced Subarray I |
Medium |
C C++ |
| 3726. Remove Zeros in Decimal Representation |
Easy |
C C++ |
| 3731. Find Missing Elements |
Easy |
C C++ |
| 3736. Minimum Moves to Equal Array Elements III |
Easy |
C C++ |
| 3745. Maximize Expression of Three Elements |
Easy |
C C++ |
| 3746. Minimum String Length After Balanced Removals |
Medium |
C C++ |
| 3750. Minimum Number of Flips to Reverse Binary String |
Easy |
C C++ |
| 3751. Total Waviness of Numbers in Range I |
Medium |
C C++ |
| 3760. Maximum Substrings With Distinct Start |
Medium |
C C++ |
| 3775. Reverse Words With Same Vowel Count |
Medium |
C C++ |
| 3783. Mirror Distance of an Integer |
Easy |
C C++ |
| 3794. Reverse String Prefix |
Easy |
C C++ |
| 3798. Largest Even Number |
Easy |
C C++ |
| 3804. Number of Centered Subarrays |
Medium |
C++ |
| 3823. Reverse Letters Then Special Characters in a String |
Easy |
C++ |