Grind 75

  1. Two Sum

    #array  #hashing  #easy 
  2. Valid Parentheses

    #stack  #easy 
  3. Merge Two Sorted Lists

    #ll  #easy 
  4. Best Time to Buy and Sell Stock

    #array  #easy 
  5. Valid Palindrome

    #string  #palindrome  #easy 
  6. Invert Binary Tree

    #bt  #easy 
  7. Valid Anagram

    #string  #anagram  #easy 
  8. Binary Search

    #binarysearch  #easy 
  9. Flood Fill

    #graph  #matrix  #dfs  #easy 
  10. Maximum Subarray

    #dp  #easy 
  11. Lowest Common Ancestor of a Binary Search Tree

    #bst  #easy 
  12. Balanced Binary Tree

    #bt  #easy 
  13. Linked List Cycle

    #ll  #twopointers  #easy 
  14. Implement Queue using Stacks

    #stack  #easy 
  15. First Bad Version

    #binarysearch  #easy 
  16. Ransom Note

    #hashtable  #easy 
  17. Climbing Stairs

    #dp  #easy 
  18. Longest Palindrome

    #string  #palindrome  #easy 
  19. Reverse Linked List

    #ll  #easy 
  20. Majority Element

    #array  #sorting  #easy 
  21. Add Binary

    #binary  #easy 
  22. Diameter of Binary Tree

    #bt  #easy 
  23. Middle of the Linked List

    #ll  #twopointers  #easy 
  24. Maximum Depth of Binary Tree

    #bt  #easy 
  25. Contains Duplicate

    #array  #hashtable  #sorting  #easy 
  26. Min Stack

    #stack  #medium 
  27. Insert Interval

    #array  #interval  #medium 
  28. 01 Matrix

    #graph  #dfs  #medium 
  29. K Closest Points to Origin

    #heap  #geometry  #medium 
  30. Longest Substring Without Repeating Characters

    #string  #slidingwindow  #medium 
  31. 3Sum

    #array  #twopointers  #medium 
  32. Binary Tree Level Order Traversal

    #bt  #medium 
  33. Clone Graph

    #graph  #dfs  #medium 
  34. Evaluate Reverse Polish Notation

    #stack  #medium 
  35. Course Schedule

    #graph  #toposort  #medium 
  36. Implement Trie (Prefix Tree)

    #trie  #medium 
  37. Coin Change

    #dp  #medium 
  38. Product of Array Except Self

    #array  #prefixsum  #medium 
  39. Validate Binary Search Tree

    #bst  #medium 
  40. Number of Islands

    #graph  #dfs  #medium 
  41. Rotting Oranges

    #graph  #dfs  #medium 
  42. Search in Rotated Sorted Array

    #binarysearch  #medium 
  43. Combination Sum

    #array  #backtracking  #medium 
  44. Permutations

    #recursion  #backtracking  #medium 
  45. Merge Intervals

    #array  #interval  #medium 
  46. Lowest Common Ancestor of a Binary Tree

    #bt  #medium 
  47. Time Based Key-Value Store

    #binarysearch  #medium 
  48. Accounts Merge

    #graph  #dfs  #unionfind  #medium 
  49. Sort Colors

    #array  #twopointers  #medium 
  50. Word Break

    #trie  #medium 
  51. Partition Equal Subset Sum

    #dp  #medium 
  52. String to Integer (atoi)

    #string  #medium 
  53. Spiral Matrix

    #matrix  #medium 
  54. Subsets

    #recursion  #backtracking  #medium 
  55. Binary Tree Right Side View

    #bt  #medium 
  56. Longest Palindromic Substring

    #string  #palindrome  #twopointer  #dp  #medium 
  57. Unique Paths

    #dp  #medium 
  58. Construct Binary Tree from Preorder and Inorder Traversal

    #bt  #medium 
  59. Container With Most Water

    #array  #greedy  #twopointers  #medium 
  60. Letter Combinations of a Phone Number

    #recursion  #backtracking  #medium 
  61. Word Search

    #graph  #backtracking  #medium 
  62. Find All Anagrams in a String

    #string  #anagram  #medium 
  63. Minimum Height Trees

    #graph  #toposort  #medium 
  64. Task Scheduler

    #heap  #medium 
  65. LRU Cache

    #ll  #hashtable  #medium 
  66. Kth Smallest Element in a BST

    #bst  #medium 
  67. Minimum Window Substring

    #string  #slidingwindow  #hard 
  68. Serialize and Deserialize Binary Tree

    #bt  #hard 
  69. Trapping Rain Water

    #stack  #monotonicstack  #hard 
  70. Find Median from Data Stream

    #heap  #hard 
  71. Word Ladder

    #graph  #dfs  #hard 
  72. Basic Calculator

    #stack  #parsing  #hard 
  73. Maximum Profit in Job Scheduling

    #binarysearch  #dp  #hard 
  74. Merge k Sorted Lists

    #heap  #hard 
  75. Largest Rectangle in Histogram

    #stack  #monoticstack  #hard