Hash Table

609 LeetCode questions

Difficulty Distribution

Easy
148
24%
Medium
350
57%
Hard
111
18%

Top Companies

Questions

TitleDifficulty
Check If Array Pairs Are Divisible by kMedium
Two SumEasy
Longest Substring Without Repeating CharactersMedium
Roman to IntegerEasy
Find Subsequence of Length K With the Largest SumEasy
Happy NumberEasy
Contains DuplicateEasy
Valid AnagramEasy
Permutation Difference between Two StringsEasy
Delete and EarnMedium
Sort Array by Increasing FrequencyEasy
Majority ElementEasy
Intersection of Two Linked ListsEasy
Integer to RomanMedium
Next Greater Element IEasy
Number of Good PairsEasy
Maximum Number of Balls in a BoxEasy
Letter Combinations of a Phone NumberMedium
Contains Duplicate IIEasy
Find the DifferenceEasy
Find All Anagrams in a StringMedium
Isomorphic StringsEasy
First Unique Character in a StringEasy
Intersection of Two ArraysEasy
Longest PalindromeEasy
Linked List CycleEasy
Sort Characters By FrequencyMedium
Find the Difference of Two ArraysEasy
Permutation in StringMedium
Contiguous ArrayMedium
Minimum Number of Operations to Have Distinct ElementsMedium
Subarray Sum Equals KMedium
Minimum Jumps to Reach HomeMedium
Group AnagramsMedium
Valid SudokuMedium
Sudoku SolverHard
First Missing PositiveHard
Minimum Window SubstringHard
Construct Binary Tree from Preorder and Inorder TraversalMedium
Word LadderHard
Longest Consecutive SequenceMedium
LRU CacheMedium
Implement Trie (Prefix Tree)Medium
Majority Element IIMedium
Missing NumberEasy
Top K Frequent ElementsMedium
Longest Repeating Character ReplacementMedium
Find All Duplicates in an ArrayMedium
Find All Numbers Disappeared in an ArrayEasy
Reorganize StringMedium
Custom Sort StringMedium
Fruit Into BasketsMedium
Binary Subarrays With SumMedium
Subarray Sums Divisible by KMedium
Subarrays with K Different IntegersHard
Amount of Time for Binary Tree to Be InfectedMedium
Count Pairs Of Similar StringsEasy
Top K Frequent WordsMedium
Split the ArrayEasy
Jewels and StonesEasy
Design TwitterMedium
Task SchedulerMedium
Threshold Majority QueriesHard
Largest Combination With Bitwise AND Greater Than ZeroMedium
Shortest Uncommon Substring in an ArrayMedium
Insert Delete GetRandom O(1)Medium
Insert Delete GetRandom O(1) - Duplicates allowedHard
Parse Lisp ExpressionHard
Brick WallMedium
Number of AtomsHard
Longest String ChainMedium
Rank Transform of an ArrayEasy
Simple Bank SystemMedium
Palindrome PairsHard
Minimum Number of Flips to Convert Binary Matrix to Zero MatrixHard
Pyramid Transition MatrixMedium
Time Based Key-Value StoreMedium
All O`one Data StructureHard
Accounts MergeMedium
Find the Number of Good Pairs IIMedium
Find the Number of Good Pairs IEasy
Minimum Array Changes to Make Differences EqualMedium
N-Repeated Element in Size 2N ArrayEasy
Map Sum PairsMedium
Can Make Palindrome from SubstringMedium
Reduce Array Size to The HalfMedium
Increasing Decreasing StringEasy
Maximum Number of Pairs in ArrayEasy
Substring with Concatenation of All WordsHard
Set Matrix ZeroesMedium
Construct Binary Tree from Inorder and Postorder TraversalMedium
Word Ladder IIHard
Clone GraphMedium
Copy List with Random PointerMedium
Word BreakMedium
Word Break IIHard
Linked List Cycle IIMedium
Max Points on a LineHard
Fraction to Recurring DecimalMedium
Repeated DNA SequencesMedium

Showing 100 of 609 questions