Skip to content

dipjul/NeetCode-150

Repository files navigation

NeetCode-150

1. Arrays & Hashing Resources

  1. Contains Duplicate Solution
  2. Valid Anagram Solution
  3. Two Sum Solution
  4. Group Anagrams Solution
  5. Top K Frequent Elements Solution
  6. Product of Array Except Self Solution
  7. Valid Sudoku Solution
  8. Encode And Decode Strings Solution
  9. Longest Consecutive Sequence Solution

2. Two Pointers Resources

  1. Valid Palindrome Solution
  2. Two Sum II Input Array Is Sorted Solution
  3. 3Sum Solution
  4. Container With Most Water Solution
  5. Trapping Rain Water Solution

3. Sliding Window Resources

  1. Best Time to Buy And Sell Stock Solution
  2. Longest Substring Without Repeating Characters Solution
  3. Longest Repeating Character Replacement Solution
  4. Permutation In String Solution
  5. Minimum Window Substring Solution
  6. Sliding Window Maximum Solution

4. Stack Resources

  1. Valid Parentheses Solution
  2. Min Stack Solution
  3. Evaluate Reverse Polish Notation Solution
  4. Generate Parentheses Solution
  5. Daily Temperatures Solution
  6. Car Fleet Solution
  7. Largest Rectangle In Histogram Solution

5. Binary Search Resources

  1. Binary Search Solution
  2. Search a 2D Matrix Solution
  3. Koko Eating Bananas Solution
  4. Search In Rotated Sorted Array Solution
  5. Find Minimum In Rotated Sorted Array Solution
  6. Time Based Key Value Store Solution
  7. Median of Two Sorted Arrays Solution

6. Lined List Resources

  1. Reverse Linked List Solution
  2. Merge Two Sorted Lists Solution
  3. Reorder List Solution
  4. Remove Nth Node From End of List Solution
  5. Copy List With Random Pointer Solution
  6. Add Two Numbers Solution
  7. Linked List Cycle Solution
  8. Find The Duplicate Number Solution
  9. LRU Cache Solution
  10. Merge K Sorted Lists Solution
  11. Reverse Nodes In K Group Solution

7. Trees Resources

  1. Invert Binary Tree Solution
  2. Maximum Depth of Binary Tree Solution
  3. Diameter of Binary Tree Solution
  4. Balanced Binary Tree Solution
  5. Same Tree Solution
  6. Subtree of Another Tree Solution
  7. Lowest Common Ancestor of a Binary Search Tree Solution
  8. Binary Tree Level Order Traversal Solution
  9. Binary Tree Right Side View Solution
  10. Count Good Nodes In Binary Tree Solution
  11. Validate Binary Search Tree Solution
  12. Kth Smallest Element In a Bst Solution
  13. Construct Binary Tree From Preorder And Inorder Traversal Solution
  14. Binary Tree Maximum Path Sum Solution
  15. Serialize And Deserialize Binary Tree Solution

8. Tries Resources

  1. Implement Trie Prefix Tree Solution
  2. Design Add And Search Words Data Structure Solution
  3. Word Search II Solution

9. Heap / PriorityQueue Resources

  1. Kth Largest Element In a Stream Solution
  2. Last Stone Weight Solution
  3. K Closest Points to Origin Solution
  4. Kth Largest Element In An Array Solution
  5. Task Scheduler Solution
  6. Design Twitter
  7. Find Median From Data Stream Solution

10. Backtracking Resources

  1. Subsets Solution
  2. Combination Sum Solution
  3. Permutations Solution
  4. Subsets II Solution
  5. Combination Sum II Solution
  6. Word Search Solution
  7. Palindrome Partitioning Solution
  8. Letter Combinations of a Phone Number Solution
  9. N Queens Solution

11. Graphs Resources

  1. Number of Islands Solution
  2. Clone Graph Solution
  3. Max Area of Island Solution
  4. Pacific Atlantic Water Flow Solution
  5. Surrounded Regions Solution
  6. Rotting Oranges Solution
  7. Walls And Gates Solution
  8. Course Schedule Solution
  9. Course Schedule II Solution
  10. Redundant Connection Solution
  11. Number of Connected Components In An Undirected Graph Solution
  12. Graph Valid Tree Solution
  13. Word Ladder Solution

12. Advanced Graphs Resources

  1. Reconstruct Itinerary Solution
  2. Min Cost to Connect All Points Solution
  3. Network Delay Time Solution
  4. Swim In Rising Water Solution
  5. Alien Dictionary Solution
  6. Cheapest Flights Within K Stops Solution

13. 1-D Dynamic Programming Resources

  1. Climbing Stairs Solution
  2. Min Cost Climbing Stairs Solution
  3. House Robber Solution
  4. House Robber II Solution
  5. Longest Palindromic Substring Solution
  6. Palindromic Substrings Solution
  7. Decode Ways Solution
  8. Coin Change Solution
  9. Maximum Product Subarray Solution
  10. Word Break Solution
  11. Longest Increasing Subsequence Solution
  12. Partition Equal Subset Sum Solution

14. 2-D Dynamic Programming Resources

  1. Unique Paths Solution
  2. Longest Common Subsequence Solution
  3. Best Time to Buy And Sell Stock With Cooldown Solution
  4. Coin Change II Solution
  5. Target Sum
  6. Interleaving String
  7. Longest Increasing Path In a Matrix Solution
  8. Distinct Subsequences Solution
  9. Edit Distance Solution
  10. Burst Balloons
  11. Regular Expression Matching

15. Greedy Resources

  1. Maximum Subarray Solution
  2. Jump Game Solution
  3. Jump Game II Solution
  4. Gas Station Solution
  5. Hand of Straights Solution
  6. Merge Triplets to Form Target Triplet Solution
  7. Partition Labels Solution
  8. Valid Parenthesis String Solution

16. Intervals Resources

  1. Insert Interval Solution
  2. Merge Intervals Solution
  3. Non Overlapping Intervals Solution
  4. Meeting Rooms Solution
  5. Meeting Rooms II Solution
  6. Minimum Interval to Include Each Query

17. Math & Geometry Resources

  1. Rotate Image Solution
  2. Spiral Matrix Solution
  3. Set Matrix Zeroes Solution
  4. Happy Number Solution
  5. Plus One Solution
  6. Pow(x, n) Solution
  7. Multiply Strings Solution
  8. Detect Squares

18. Bit Manipulation Resources

  1. Single Number Solution
  2. Number of 1 Bits Solution
  3. Counting Bits Solution
  4. Reverse Bits Solution
  5. Missing Number Solution
  6. Sum of Two Integers Solution
  7. Reverse Integer

19. Misc-DSA (Not from Neetcode)

  1. Union Find
  2. Dijkstra's Algorithm
  3. BFS on Graph
  4. Bellman Ford
  5. KMP Algorithm
  6. Segment Tree
  7. Fenwick Tree
  8. Fenwick Tree 2D

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published