Problem Solving

Arrays and Strings

  1. Merge Sorted Array
  2. Remove Elements
  3. Remove Duplicates from Sorted Array
  4. Roman to Integer
  5. Majority Element
  6. Best Time to Buy and Sell Stock
  7. Length of Last Word
  8. First Occurrence in a string
  9. Top K Frequent Elements
  10. String Encode and Decode
  11. Product of Array Except Self

Two Pointers

  1. Valid Palindrome
  2. IsSubsequence
  3. Linked List Cycle
  4. Two Sum II

Hashmap

  1. Ransom Note
  2. Word Pattern
  3. Majority Element
  4. Isomorphic Strings
  5. Happy Number
  6. Contains Duplicate
  7. Valid Anagram
  8. Two Sum
  9. Group Anagrams
  10. Valid Sudoku
  11. Longest Consecutive Sequence

Intervals

  1. Summary Ranges

Stack

  1. Valid Parentheses
  2. MinStack
  3. Evaluate Reverse Polish Notation
  4. Daily Temperatures
  5. Car Fleet
  6. Largest Rectangle In Histogram

Linked List

  1. Linked List Cycle
  2. Merge Two Sorted Lists