← back

Hash Table

675 questions · 0 seen

All Hash Table problems

Problems

1 Two Sum
3 Longest Substring Without Repeating Characters
12 Integer to Roman
13 Roman to Integer
17 Letter Combinations of a Phone Number
30 Substring with Concatenation of All Words
36 Valid Sudoku
37 Sudoku Solver
41 First Missing Positive
49 Group Anagrams
73 Set Matrix Zeroes
76 Minimum Window Substring
105 Construct Binary Tree from Preorder and Inorder Traversal
106 Construct Binary Tree from Inorder and Postorder Traversal
126 Word Ladder II
127 Word Ladder
128 Longest Consecutive Sequence
133 Clone Graph
138 Copy List with Random Pointer
139 Word Break
140 Word Break II
141 Linked List Cycle
142 Linked List Cycle II
146 LRU Cache
149 Max Points on a Line
160 Intersection of Two Linked Lists
166 Fraction to Recurring Decimal
169 Majority Element
187 Repeated DNA Sequences
202 Happy Number
205 Isomorphic Strings
208 Implement Trie (Prefix Tree)
217 Contains Duplicate
219 Contains Duplicate II
229 Majority Element II
242 Valid Anagram
264 Ugly Number II
268 Missing Number
290 Word Pattern
299 Bulls and Cows
336 Palindrome Pairs
347 Top K Frequent Elements
349 Intersection of Two Arrays
350 Intersection of Two Arrays II
352 Data Stream as Disjoint Intervals
355 Design Twitter
380 Insert Delete GetRandom O(1)
381 Insert Delete GetRandom O(1) - Duplicates allowed
383 Ransom Note
387 First Unique Character in a String
389 Find the Difference
391 Perfect Rectangle
395 Longest Substring with At Least K Repeating Characters
398 Random Pick Index
409 Longest Palindrome
421 Maximum XOR of Two Numbers in an Array
423 Reconstruct Original Digits from English
424 Longest Repeating Character Replacement
432 All O`one Data Structure
433 Minimum Genetic Mutation
438 Find All Anagrams in a String
442 Find All Duplicates in an Array
447 Number of Boomerangs
448 Find All Numbers Disappeared in an Array
451 Sort Characters By Frequency
454 4Sum II
457 Circular Array Loop
460 LFU Cache
480 Sliding Window Median
491 Non-decreasing Subsequences
496 Next Greater Element I
500 Keyboard Row
508 Most Frequent Subtree Sum
519 Random Flip Matrix
522 Longest Uncommon Subsequence II
523 Continuous Subarray Sum
525 Contiguous Array
532 K-diff Pairs in an Array
535 Encode and Decode TinyURL
554 Brick Wall
560 Subarray Sum Equals K
567 Permutation in String
575 Distribute Candies
594 Longest Harmonious Subsequence
599 Minimum Index Sum of Two Lists
609 Find Duplicate File in System
621 Task Scheduler
632 Smallest Range Covering Elements from K Lists
645 Set Mismatch
648 Replace Words
652 Find Duplicate Subtrees
653 Two Sum IV - Input is a BST
659 Split Array into Consecutive Subsequences
676 Implement Magic Dictionary
677 Map Sum Pairs
690 Employee Importance
691 Stickers to Spell Word
692 Top K Frequent Words
697 Degree of an Array
705 Design HashSet
706 Design HashMap
710 Random Pick with Blacklist (PRO)
720 Longest Word in Dictionary
721 Accounts Merge
726 Number of Atoms
736 Parse Lisp Expression
740 Delete and Earn
745 Prefix and Suffix Search
748 Shortest Completing Word
752 Open the Lock
756 Pyramid Transition Matrix
763 Partition Labels
767 Reorganize String
770 Basic Calculator IV
771 Jewels and Stones
781 Rabbits in Forest
791 Custom Sort String
792 Number of Matching Subsequences
804 Unique Morse Code Words
805 Split Array With Same Average
811 Subdomain Visit Count
815 Bus Routes
817 Linked List Components
819 Most Common Word
820 Short Encoding of Words
822 Card Flipping Game
823 Binary Trees With Factors
828 Count Unique Characters of All Substrings of a Given String
833 Find And Replace in String
839 Similar String Groups
840 Magic Squares In Grid
846 Hand of Straights
854 K-Similar Strings
859 Buddy Strings
863 All Nodes Distance K in Binary Tree
865 Smallest Subtree with all the Deepest Nodes
869 Reordered Power of 2
873 Length of Longest Fibonacci Subsequence
874 Walking Robot Simulation
884 Uncommon Words from Two Sentences
888 Fair Candy Swap
889 Construct Binary Tree from Preorder and Postorder Traversal
890 Find and Replace Pattern
893 Groups of Special-Equivalent Strings
895 Maximum Frequency Stack
904 Fruit Into Baskets
911 Online Election
914 X of a Kind in a Deck of Cards
916 Word Subsets
923 3Sum With Multiplicity
924 Minimize Malware Spread
928 Minimize Malware Spread II
929 Unique Email Addresses
930 Binary Subarrays With Sum
939 Minimum Area Rectangle
947 Most Stones Removed with Same Row or Column
952 Largest Component Size by Common Factor
953 Verifying an Alien Dictionary
954 Array of Doubled Pairs
957 Prison Cells After N Days
959 Regions Cut By Slashes
961 N-Repeated Element in Size 2N Array
963 Minimum Area Rectangle II
966 Vowel Spellchecker
970 Powerful Integers
974 Subarray Sums Divisible by K
981 Time Based Key-Value Store
982 Triples with Bitwise AND Equal To Zero
987 Vertical Order Traversal of a Binary Tree
992 Subarrays with K Different Integers
996 Number of Squareful Arrays
997 Find the Town Judge
1001 Grid Illumination
1002 Find Common Characters
1010 Pairs of Songs With Total Durations Divisible by 60
1015 Smallest Integer Divisible by K
1016 Binary String With Substrings Representing 1 To N
1027 Longest Arithmetic Subsequence
1036 Escape a Large Maze
1048 Longest String Chain
1054 Distant Barcodes
1072 Flip Columns For Maximum Number of Equal Rows
1074 Number of Submatrices That Sum to Target
1079 Letter Tile Possibilities
1090 Largest Values From Labels
1096 Brace Expansion II
1110 Delete Nodes And Return Forest
1122 Relative Sort Array
1123 Lowest Common Ancestor of Deepest Leaves
1124 Longest Well-Performing Interval
1128 Number of Equivalent Domino Pairs
1138 Alphabet Board Path
1146 Snapshot Array
1156 Swap For Longest Repeated Character Substring
1160 Find Words That Can Be Formed by Characters
1169 Invalid Transactions
1170 Compare Strings by Frequency of the Smallest Character
1171 Remove Zero Sum Consecutive Nodes from Linked List
1172 Dinner Plate Stacks
1177 Can Make Palindrome from Substring
1178 Number of Valid Words for Each Puzzle
1189 Maximum Number of Balloons
1202 Smallest String With Swaps
1207 Unique Number of Occurrences
1218 Longest Arithmetic Subsequence of Given Difference
1224 Maximum Equal Frequency
1248 Count Number of Nice Subarrays
1255 Maximum Score Words Formed by Letters
1261 Find Elements in a Contaminated Binary Tree
1275 Find Winner on a Tic Tac Toe Game
1282 Group the People Given the Group Size They Belong To
1284 Minimum Number of Flips to Convert Binary Matrix to Zero Matrix
1296 Divide Array in Sets of K Consecutive Numbers
1297 Maximum Number of Occurrences of a Substring
1311 Get Watched Videos by Your Friends
1331 Rank Transform of an Array
1338 Reduce Array Size to The Half
1345 Jump Game IV
1346 Check If N and Its Double Exist
1347 Minimum Number of Steps to Make Two Strings Anagram
1348 Tweet Counts Per Frequency
1357 Apply Discount Every n Orders
1358 Number of Substrings Containing All Three Characters
1365 How Many Numbers Are Smaller Than the Current Number
1366 Rank Teams by Votes
1370 Increasing Decreasing String
1371 Find the Longest Substring Containing Vowels in Even Counts
1386 Cinema Seat Allocation
1394 Find Lucky Integer in an Array
1396 Design Underground System
1399 Count Largest Group
1400 Construct K Palindrome Strings
1410 HTML Entity Parser
1418 Display Table of Food Orders in a Restaurant
1436 Destination City
1442 Count Triplets That Can Form Two Arrays of Equal XOR
1443 Minimum Time to Collect All Apples in a Tree
1452 People Whose List of Favorite Companies Is Not a Subset of Another List
1460 Make Two Arrays Equal by Reversing Subarrays
1461 Check If a String Contains All Binary Codes of Size K
1477 Find Two Non-overlapping Sub-arrays Each With Target Sum
1481 Least Number of Unique Integers after K Removals
1487 Making File Names Unique
1488 Avoid Flood in The City
1496 Path Crossing
1497 Check If Array Pairs Are Divisible by k
1512 Number of Good Pairs
1519 Number of Nodes in the Sub-Tree With the Same Label (PRO)
1520 Maximum Number of Non-Overlapping Substrings
1525 Number of Good Ways to Split a String
1540 Can Convert String in K Moves
1542 Find Longest Awesome Substring
1546 Maximum Number of Non-Overlapping Subarrays With Sum Equals Target
1562 Find Latest Group of Size M
1577 Number of Ways Where Square of Number Is Equal to Product of Two Numbers
1590 Make Sum Divisible by P (PRO)
1593 Split a String Into the Max Number of Unique Substrings
1600 Throne Inheritance
1604 Alert Using Same Key-Card Three or More Times in a One Hour Period
1624 Largest Substring Between Two Equal Characters
1630 Arithmetic Subarrays
1636 Sort Array by Increasing Frequency
1638 Count Substrings That Differ by One Character (PRO)
1640 Check Array Formation Through Concatenation
1647 Minimum Deletions to Make Character Frequencies Unique
1654 Minimum Jumps to Reach Home
1655 Distribute Repeating Integers
1656 Design an Ordered Stream
1657 Determine if Two Strings Are Close
1658 Minimum Operations to Reduce X to Zero
1674 Minimum Moves to Make Array Complementary
1679 Max Number of K-Sum Pairs
1681 Minimum Incompatibility
1684 Count the Number of Consistent Strings (PRO)
1695 Maximum Erasure Value
1711 Count Good Meals (PRO)
1713 Minimum Operations to Make a Subsequence
1719 Number Of Ways To Reconstruct A Tree
1726 Tuple with Same Product
1733 Minimum Number of People to Teach
1737 Change Minimum Characters to Satisfy One of Three Conditions
1742 Maximum Number of Balls in a Box
1743 Restore the Array From Adjacent Pairs
1748 Sum of Unique Elements (PRO)
1763 Longest Nice Substring (PRO)
1775 Equal Sum Arrays With Minimum Number of Operations
1781 Sum of Beauty of All Substrings (PRO)
1782 Count Pairs Of Nodes
1787 Make the XOR of All Segments Equal to Zero
1790 Check if One String Swap Can Make Strings Equal
1796 Second Largest Digit in a String
1797 Design Authentication Manager
1805 Number of Different Integers in a String
1807 Evaluate the Bracket Pairs of a String (PRO)
1814 Count Nice Pairs in an Array (PRO)
1817 Finding the Users Active Minutes (PRO)
1830 Minimum Number of Operations to Make String Sorted
1832 Check if the Sentence Is Pangram
1857 Largest Color Value in a Directed Graph
1865 Finding Pairs With a Certain Sum
1876 Substrings of Size Three with Distinct Characters (PRO)
1893 Check if All the Integers in a Range Are Covered
1897 Redistribute Characters to Make All Strings Equal
1912 Design Movie Rental System
1915 Number of Wonderful Substrings
1930 Unique Length-3 Palindromic Subsequences (PRO)
1932 Merge BSTs to Create Single BST
1935 Maximum Number of Words You Can Type (PRO)
1938 Maximum Genetic Difference Query (PRO)
1941 Check if All Characters Have Equal Number of Occurrences (PRO)
1942 The Number of the Smallest Unoccupied Chair
1943 Describe the Painting
1948 Delete Duplicate Folders in System (PRO)
1980 Find Unique Binary String
1993 Operations on Tree
1994 The Number of Good Subsets
1995 Count Special Quadruplets (PRO)
2001 Number of Pairs of Interchangeable Rectangles
2006 Count Number of Pairs With Absolute Difference K
2007 Find Original Array From Doubled Array
2008 Maximum Earnings From Taxi
2009 Minimum Number of Operations to Make Array Continuous
2013 Detect Squares
2014 Longest Subsequence Repeated k Times
2019 The Score of Students Solving Math Expression
2023 Number of Pairs of Strings With Concatenation Equal to Target
2025 Maximum Number of Ways to Partition an Array
2032 Two Out of Three
2034 Stock Price Fluctuation
2043 Simple Bank System
2048 Next Greater Numerically Balanced Number
2053 Kth Distinct String in an Array
2062 Count Vowel Substrings of a String
2068 Check Whether Two Strings are Almost Equivalent
2080 Range Frequency Queries
2085 Count Common Words With One Occurrence
2094 Finding 3-Digit Even Numbers
2099 Find Subsequence of Length K With the Largest Sum
2103 Rings and Rods
2115 Find All Possible Recipes from Given Supplies
2121 Intervals Between Identical Elements
2122 Recover the Original Array
2131 Longest Palindrome by Concatenating Two Letter Words
2133 Check if Every Row and Column Contains All Numbers
2135 Count Words Obtained After Adding a Letter
2150 Find All Lonely Numbers in the Array
2154 Keep Multiplying Found Values by Two
2157 Groups of Strings (PRO)
2166 Design Bitset
2170 Minimum Operations to Make the Array Alternating
2182 Construct String With Repeat Limit
2183 Count Array Pairs Divisible by K
2186 Minimum Number of Steps to Make Two Strings Anagram II
2190 Most Frequent Number Following Key In an Array
2196 Create Binary Tree From Descriptions
2201 Count Artifacts That Can Be Extracted
2206 Divide Array Into Equal Pairs
2215 Find the Difference of Two Arrays
2225 Find Players With Zero or One Losses
2227 Encrypt and Decrypt Strings
2244 Minimum Rounds to Complete All Tasks
2248 Intersection of Multiple Arrays
2249 Count Lattice Points Inside a Circle
2250 Count Number of Rectangles Containing Each Point
2251 Number of Flowers in Full Bloom
2260 Minimum Consecutive Cards to Pick Up
2261 K Divisible Elements Subarrays (PRO)
2262 Total Appeal of A String
2266 Count Number of Texts
2272 Substring With Largest Variance
2273 Find Resultant Array After Removing Anagrams
2275 Largest Combination With Bitwise AND Greater Than Zero
2283 Check if Number Has Equal Digit Count and Digit Value
2284 Sender With Largest Word Count
2287 Rearrange Characters to Make Target String
2295 Replace Elements in an Array
2301 Match Substring After Replacement (PRO)
2306 Naming a Company
2309 Greatest English Letter in Upper and Lower Case
2325 Decode the Message
2336 Smallest Number in Infinite Set
2341 Maximum Number of Pairs in Array
2342 Max Sum of a Pair With Equal Sum of Digits
2347 Best Poker Hand
2349 Design a Number Container System
2350 Shortest Impossible Sequence of Rolls
2351 First Letter to Appear Twice
2352 Equal Row and Column Pairs
2353 Design a Food Rating System
2354 Number of Excellent Pairs
2357 Make Array Zero by Subtracting Equal Amounts
2363 Merge Similar Items
2364 Count Number of Bad Pairs
2365 Task Scheduler II
2367 Number of Arithmetic Triplets
2368 Reachable Nodes With Restrictions
2370 Longest Ideal Subsequence
2374 Node With Highest Edge Score
2384 Largest Palindromic Number
2385 Amount of Time for Binary Tree to Be Infected
2395 Find Subarrays With Equal Sum
2399 Check Distances Between Same Letters
2402 Meeting Rooms III
2404 Most Frequent Even Element
2405 Optimal Partition of String
2418 Sort the People
2421 Number of Good Paths
2423 Remove Letter To Equalize Frequency
2424 Longest Uploaded Prefix
2434 Using a Robot to Print the Lexicographically Smallest String
2441 Largest Positive Integer That Exists With Its Negative
2442 Count Number of Distinct Integers After Reverse Operations
2451 Odd String Difference
2453 Destroy Sequential Targets
2456 Most Popular Video Creator
2461 Maximum Sum of Distinct Subarrays With Length K
2465 Number of Distinct Averages
2475 Number of Unequal Triplets in Array
2488 Count Subarrays With Median K
2491 Divide Players Into Teams of Equal Skill
2499 Minimum Total Cost to Make Arrays Unequal
2501 Longest Square Streak in an Array
2502 Design Memory Allocator
2506 Count Pairs Of Similar Strings
2508 Add Edges to Make Degrees of All Nodes Even
2512 Reward Top K Students
2514 Count Anagrams
2516 Take K of Each Character From Left and Right
2521 Distinct Prime Factors of Product of Array
2526 Find Consecutive Integers from a Data Stream
2531 Make Number of Distinct Characters Equal (PRO)
2537 Count the Number of Good Subarrays
2540 Minimum Common Value
2547 Minimum Cost to Split an Array
2549 Count Distinct Numbers on Board
2554 Maximum Number of Integers to Choose From a Range I
2561 Rearranging Fruits
2564 Substring XOR Queries (PRO)
2570 Merge Two 2D Arrays by Summing Values
2581 Count Number of Possible Root Nodes
2584 Split the Array to Make Coprime Products
2588 Count the Number of Beautiful Subarrays
2593 Find Score of an Array After Marking All Elements
2597 The Number of Beautiful Subsets
2598 Smallest Missing Non-negative Integer After Operations (PRO)
2605 Form Smallest Number From Two Digit Arrays
2606 Find the Substring With Maximum Cost
2610 Convert an Array Into a 2D Array With Conditions
2612 Minimum Reverse Operations
2615 Sum of Distances
2641 Cousins in Binary Tree II
2653 Sliding Subarray Beauty
2657 Find the Prefix Common Array of Two Arrays
2661 First Completely Painted Row or Column
2670 Find the Distinct Difference Array
2671 Frequency Tracker
2682 Find the Losers of the Circular Game
2707 Extra Characters in a String
2711 Difference of Number of Distinct Values on Diagonals
2713 Maximum Strictly Increasing Cells in a Matrix
2716 Minimize String Length
2718 Sum of Matrix After Queries
2729 Check if The Number is Fascinating (PRO)
2732 Find a Good Subset of the Matrix
2744 Find Maximum Number of String Pairs
2747 Count Zero Request Servers
2748 Number of Beautiful Pairs
2763 Sum of Imbalance Numbers of All Subarrays
2766 Relocate Marbles
2767 Partition String Into Minimum Beautiful Substrings
2768 Number of Black Blocks
2780 Minimum Index of a Valid Split
2781 Length of the Longest Valid Substring
2784 Check if Array is Good
2799 Count Complete Subarrays in an Array
2808 Minimum Seconds to Equalize a Circular Array
2813 Maximum Elegance of a K-Length Subsequence
2815 Max Pair Sum in an Array
2830 Maximize the Profit as the Salesman
2831 Find the Longest Equal Subarray
2840 Check if Strings Can be Made Equal With Operations II
2841 Maximum Sum of Almost Unique Subarray
2842 Count K-Subsequences of a String With Maximum Beauty
2845 Count of Interesting Subarrays
2848 Points That Intersect With Cars
2856 Minimum Array Length After Pair Removals
2857 Count Pairs of Points With Distance k
2869 Minimum Operations to Collect Elements
2870 Minimum Number of Operations to Make Array Empty
2875 Minimum Size Subarray in Infinite Array
2897 Apply Operations on Array to Maximize Sum of Squares
2902 Count of Sub-Multisets With Bounded Sum
2910 Minimum Number of Groups to Create a Valid Assignment
2913 Subarrays Distinct Element Sum of Squares I
2932 Maximum Strong Pair XOR I
2933 High-Access Employees
2935 Maximum Strong Pair XOR II
2947 Count Beautiful Substrings I
2949 Count Beautiful Substrings II
2953 Count Complete Substrings
2956 Find Common Elements Between Two Arrays
2958 Length of Longest Subarray With at Most K Frequency
2963 Count the Number of Good Partitions
2965 Find Missing and Repeated Values
2975 Maximum Square Area by Removing Fences From a Field
2981 Find Longest Special Substring That Occurs Thrice I
2982 Find Longest Special Substring That Occurs Thrice II
2983 Palindrome Rearrangement Queries
2996 Smallest Missing Integer Greater Than Sequential Prefix Sum
3002 Maximum Size of a Set After Removals
3005 Count Elements With Maximum Frequency
3013 Divide an Array Into Subarrays With Minimum Cost II
3016 Minimum Number of Pushes to Type Word II
3020 Find the Maximum Number of Elements in Subset
3026 Maximum Good Subarray Sum
3035 Maximum Palindromes After Operations
3039 Apply Operations to Make String Empty
3043 Find the Length of the Longest Common Prefix
3044 Most Frequent Prime
3046 Split the Array
3071 Minimum Operations to Write the Letter Y on a Grid
3076 Shortest Uncommon Substring in an Array
3080 Mark Elements on Array by Performing Queries
3081 Replace Question Marks in String to Minimize Its Value
3083 Existence of a Substring in a String and Its Reverse
3085 Minimum Deletions to Make String K-Special
3090 Maximum Length Substring With Two Occurrences
3092 Most Frequent IDs
3120 Count the Number of Special Characters I
3121 Count the Number of Special Characters II
3128 Right Triangles
3134 Find the Median of the Uniqueness Array
3137 Minimum Number of Operations to Make Word K-Periodic
3138 Minimum Length of Anagram Concatenation
3143 Maximum Points Inside the Square
3144 Minimum Substring Partition of Equal Character Frequency
3146 Permutation Difference between Two Strings
3153 Sum of Digit Differences of All Pairs
3158 Find the XOR of Numbers Which Appear Twice
3159 Find Occurrences of an Element in an Array
3160 Find the Number of Distinct Colors Among the Balls
3162 Find the Number of Good Pairs I
3164 Find the Number of Good Pairs II
3170 Lexicographically Minimum String After Removing Stars
3176 Find the Maximum Length of a Good Subsequence I
3177 Find the Maximum Length of a Good Subsequence II
3184 Count Pairs That Form a Complete Day I
3185 Count Pairs That Form a Complete Day II
3186 Maximum Total Damage With Spell Casting
3217 Delete Nodes From Linked List Present in Array (PRO)
3223 Minimum Length of String After Operations
3224 Minimum Array Changes to Make Differences Equal
3238 Find the Number of Winning Players
3242 Design Neighbor Sum Service
3265 Count Almost Equal Pairs I
3267 Count Almost Equal Pairs II
3272 Find the Count of Good Integers
3289 The Two Sneaky Numbers of Digitville
3295 Report Spam Message
3297 Count Substrings That Can Be Rearranged to Contain a String I
3298 Count Substrings That Can Be Rearranged to Contain a String II
3305 Count of Substrings Containing Every Vowel and K Consonants I
3306 Count of Substrings Containing Every Vowel and K Consonants II
3311 Construct 2D Grid Matching Graph Layout
3312 Sorted GCD Pair Queries (PRO)
3316 Find Maximum Removals From Source String
3318 Find X-Sum of All K-Long Subarrays I
3321 Find X-Sum of All K-Long Subarrays II
3325 Count Substrings With K-Frequency Characters I
3327 Check if DFS Strings Are Palindromes
3331 Find Subtree Sizes After Changes
3335 Total Characters in String After Transformations I
3337 Total Characters in String After Transformations II
3351 Sum of Good Subsequences
3365 Rearrange K Substrings to Form Target String
3371 Identify the Largest Outlier in an Array
3375 Minimum Operations to Make Array Values Equal to K
3378 Count Connected Components in LCM Graph
3381 Maximum Subarray Sum With Length Divisible by K
3389 Minimum Operations to Make Character Frequencies Equal
3395 Subsequences with a Unique Middle Mode I
3396 Minimum Number of Operations to Make Elements in Array Distinct
3404 Count Special Subsequences
3408 Design Task Manager
3412 Find Mirror Score of a String
3425 Longest Special Path
3434 Maximum Frequency After Subarray Operation
3438 Find Valid Pair of Adjacent Digits in String
3442 Maximum Difference Between Even and Odd Frequency I (PRO)
3443 Maximum Manhattan Distance After K Changes (PRO)
3447 Assign Elements to Groups with Constraints
3458 Select K Disjoint Special Substrings
3471 Find the Largest Almost Missing Integer
3483 Unique 3-Digit Even Numbers
3484 Design Spreadsheet
3486 Longest Special Path II
3487 Maximum Unique Subarray Sum After Deletion
3488 Closest Equal Element Queries
3493 Properties Graph
3505 Minimum Operations to Make Elements Within K Subarrays Equal
3507 Minimum Pair Removal to Sort Array I
3508 Implement Router
3509 Maximum Product of Subsequences With an Alternating Sum Equal to K
3510 Minimum Pair Removal to Sort Array II
3518 Smallest Palindromic Rearrangement II
3522 Calculate Score After Performing Instructions
3527 Find the Most Common Response
3531 Count Covered Buildings
3532 Path Existence Queries in a Graph I
3541 Find Most Frequent Vowel and Consonant
3542 Minimum Operations to Convert All Elements to Zero
3543 Maximum Weighted K-Edge Path
3545 Minimum Deletions for At Most K Distinct Characters
3548 Equal Sum Grid Partition II
3551 Minimum Swaps to Sort by Digit Sum
3552 Grid Teleportation Traversal
3556 Sum of Largest Prime Substrings
3557 Find Maximum Number of Non Intersecting Substrings
3568 Minimum Moves to Clean the Classroom
3572 Maximize Y‑Sum by Picking a Triplet of Distinct X‑Values
3583 Count Special Triplets
3588 Find Maximum Area of a Triangle
3591 Check if Any Element Has Prime Frequency
3597 Partition String
3606 Coupon Code Validator (PRO)
3607 Power Grid Maintenance
3623 Count Number of Trapezoids I
3625 Count Number of Trapezoids II
3629 Minimum Jumps to Reach End via Prime Teleportation
3636 Threshold Majority Queries
3654 Minimum Sum After Divisible Sum Deletions
3659 Partition Array Into K-Distinct Groups
3663 Find The Least Frequent Digit
3664 Two-Letter Card Game
3668 Restore Finishing Order
3678 Smallest Absent Positive Greater Than Average
3679 Minimum Discards to Balance Inventory
3684 Maximize Sum of At Most K Distinct Elements
3690 Split and Merge Array Transformation
3692 Majority Frequency Characters
3694 Distinct Points Reachable After Substring Removal
3712 Sum of Elements With Frequency Divisible by K
3713 Longest Balanced Substring I
3714 Longest Balanced Substring II
3715 Sum of Perfect Square Ancestors
3718 Smallest Missing Multiple of K
3719 Longest Balanced Subarray I
3720 Lexicographically Smallest Permutation Greater Than Target
3721 Longest Balanced Subarray II
3728 Stable Subarrays With Equal Boundary and Interior Sum
3729 Count Distinct Subarrays Divisible by K in Sorted Array
3731 Find Missing Elements
3737 Count Subarrays With Majority Element I
3739 Count Subarrays With Majority Element II
3740 Minimum Distance Between Three Equal Elements I
3741 Minimum Distance Between Three Equal Elements II
3755 Find Maximum Balanced XOR Subarray Length
3760 Maximum Substrings With Distinct Start
3761 Minimum Absolute Distance Between Mirror Pairs
3779 Minimum Number of Operations to Have Distinct Elements
3784 Minimum Deletion Cost to Make All Characters Equal
3785 Minimum Swaps to Avoid Forbidden Values
3790 Smallest All-Ones Multiple
3795 Minimum Subarray Length With Distinct Sum At Least K
3803 Count Residue Prefixes
3804 Number of Centered Subarrays
3805 Count Caesar Cipher Pairs
3810 Minimum Operations to Reach Target Array
3811 Number of Alternating XOR Partitions
3815 Design Auction System
3816 Lexicographically Smallest String After Deleting Duplicate Characters
3829 Design Ride Sharing System
3839 Number of Prefix Connected Groups
3842 Toggle Light Bulbs
3843 First Element with Unique Frequency