Data Structure Usage¶
Problems organized by the primary data structures they use.
Array (18 problems)¶
- π’ LeetCode 1 - Two Sum
- π’ LeetCode 26 - Remove Duplicates from Sorted Array
- π’ LeetCode 27 - Remove Element
- π’ LeetCode 88 - Merge Sorted Array
- π’ LeetCode 283 - Move Zeroes
- π’ LeetCode 905 - Sort Array By Parity
- π’ LeetCode 922 - Sort Array By Parity II
- π’ LeetCode 977 - Squares of a Sorted Array
- π‘ LeetCode 3 - Longest Substring Without Repeating Characters
- π‘ LeetCode 11 - Container With Most Water
- π‘ LeetCode 15 - 3Sum
- π‘ LeetCode 16 - 3Sum Closest
- π‘ LeetCode 75 - Sort Colors
- π‘ LeetCode 80 - Remove Duplicates from Sorted Array II
- π‘ LeetCode 209 - Minimum Size Subarray Sum
- π‘ LeetCode 215 - Kth Largest Element in an Array
- π΄ LeetCode 4 - Median of Two Sorted Arrays
- π΄ LeetCode 51 - N-Queens
String (7 problems)¶
- π’ LeetCode 125 - Valid Palindrome
- π’ LeetCode 680 - Valid Palindrome II
- π‘ LeetCode 3 - Longest Substring Without Repeating Characters
- π‘ LeetCode 340 - Longest Substring with At Most K Distinct Characters
- π‘ LeetCode 438 - Find All Anagrams in a String
- π‘ LeetCode 567 - Permutation in String
- π΄ LeetCode 76 - Minimum Window Substring
Linked List (7 problems)¶
- π’ LeetCode 21 - Merge Two Sorted Lists
- π’ LeetCode 141 - Linked List Cycle
- π’ LeetCode 876 - Middle of the Linked List
- π‘ LeetCode 2 - Add Two Numbers
- π‘ LeetCode 142 - Linked List Cycle II
- π΄ LeetCode 23 - Merge k Sorted Lists
- π΄ LeetCode 25 - Reverse Nodes in k-Group
Hash Map (6 problems)¶
- π’ LeetCode 1 - Two Sum
- π‘ LeetCode 3 - Longest Substring Without Repeating Characters
- π‘ LeetCode 340 - Longest Substring with At Most K Distinct Characters
- π‘ LeetCode 438 - Find All Anagrams in a String
- π‘ LeetCode 567 - Permutation in String
- π΄ LeetCode 76 - Minimum Window Substring