Skip to content

πŸ“˜ Neetcode 150 practice problems + Blind 75 techniques. Includes quizzes/questions/tests in flashcards format (Anki) to learn patterns and solutions. πŸ“‘ Collection of 225 leetcode problems.

License

Notifications You must be signed in to change notification settings

envico801/Neetcode-150-and-Blind-75

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

89 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Neetcode 150 and Blind 75

πŸ“˜ Collection of 225 leetcode problems. Includes solutions and quizzes/questions/tests in flashcards format (Anki) to learn patterns/techniques.

Resources

  1. πŸš€ NeetCode
    1. neetcode.io
      1. Practice
      2. Roadmap
      3. Courses DSA For Beginners
      4. Courses Advanced Algorithms
    2. YouTube
      1. How I Got Good At Coding Interviews
      2. My Brain After 569 Leetcode Problems
      3. Playlist - Leetcode BLIND-75 Solutions
    3. πŸ“„ Docs Google
      1. Leetcode 75 Questions (NeetCode on YT)
  2. πŸ…±οΈ Blind
    1. teamblind.com
      1. 🎁 New Year Gift - Curated List of Top 75 LeetCode Questions to Save Your Time
  3. πŸ₯‡ LeetCode
    1. leetcode.com
      1. Blind 75 list (community version)
      2. Study Plan - Top Interview 150
      3. Community Post - Blind 75 Leetcode Questions
  4. 🧩 Sean Prashad
    1. seanprashad.com
      1. Leetcode Patterns
  5. 🏫 Tech interview handbook
    1. techinterviewhandbook.org
      1. Coding Interview Study Plan
      2. Grind 75
        1. OLD VERSION - Best Practice Questions
  6. πŸ§‘β€πŸ’» Hackernoon
    1. hackernoon.com
      1. 14 Patterns To Ace Any Coding Interview Question

Practice questions

Disclaimer: Some of the questions are taken from neetcode.io/practice, only the questions that correspond to the "free" category were used, the content belongs to neetcode and is only being used for educational purposes.

Anki content

The questions in this section are designed to help you remember the patterns or techniques used throughout the problems. The problems are in a Q&A format, this is to facilitate the creation of a deck of Anki cards.

The order is based on the roadmap created by neetcode

Sections

Information about the tables

Symbol Meaning
βœ… Transcribed/created questions (may need revision)
πŸ“˜ Questions that may need to be transcribed
⚠️ Questions that do not appear on neetcode.io or are behind a paywall and need to be created
[Blind] Question part of Blind 75 original post
[Ex] Extra question that is not in that category in neetcode.io/roadmap
[ComEx] Extra question considered within blind by the community

Arrays & Hashing

Prerequisites

β—½ - Hash Implementation - Data Structures & Algorithms for Beginners
β—½ - Prefix Sums - Advanced Algorithms

Problems

# Title - NeetCode LeetCode Difficulty Video Solution Code Solution (may or may not exist) Time Space Anki
0217 Contains Duplicate - [Blind] Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0242 Valid Anagram - [Blind] Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0001 Two Sum - [Blind] Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0049 Group Anagrams - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…βš οΈ
0347 Top K Frequent Elements - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…βš οΈ
0271 Encode and Decode Strings - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0238 Product of Array Except Self - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…βš οΈ
0036 Valid Sudoku Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…βš οΈ
0128 Longest Consecutive Sequence - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜

Two Pointers

Prerequisites

β—½ - Two Pointers - Advanced Algorithms

Problems

# Title - NeetCode LeetCode Difficulty Video Solution Code Solution (may or may not exist) Time Space Anki
0125 Valid Palindrome - [Blind] Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0167 Two Sum II Input Array Is Sorted Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…βš οΈ
0015 3Sum - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0011 Container With Most Water - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0042 Trapping Rain Water Link Hard YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️

Stack

Prerequisites

Problems

# Title - NeetCode LeetCode Difficulty Video Solution Code Solution (may or may not exist) Time Space Anki
0020 Valid Parentheses - [Blind] Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0155 Min Stack Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0150 Evaluate Reverse Polish Notation Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0022 Generate Parentheses Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0739 Daily Temperatures Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0853 Car Fleet Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0084 Largest Rectangle In Histogram Link Hard YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️

Binary Search

Prerequisites

Problems

# Title - NeetCode LeetCode Difficulty Video Solution Code Solution (may or may not exist) Time Space Anki
0704 Binary Search Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0074 Search a 2D Matrix Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0875 Koko Eating Bananas Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0153 Find Minimum In Rotated Sorted Array - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0033 Search In Rotated Sorted Array - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0981 Time Based Key Value Store Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0004 Median of Two Sorted Arrays Link Hard YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️

Sliding Window

Prerequisites

β—½ - Sliding Window Fixed Size - Advanced Algorithms
β—½ - Sliding Window Variable Size - Advanced Algorithms

Problems

# Title - NeetCode LeetCode Difficulty Video Solution Code Solution (may or may not exist) Time Space Anki
0121 Best Time to Buy And Sell Stock - [Blind] Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0003 Longest Substring Without Repeating Characters - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0424 Longest Repeating Character Replacement - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0567 Permutation In String Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0076 Minimum Window Substring - [Blind] Link Hard YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0239 Sliding Window Maximum Link Hard YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️

Linked List

Prerequisites

β—½ - Singly Linked Lists - Data Structures & Algorithms for Beginners
β—½ - Doubly Linked Lists - Data Structures & Algorithms for Beginners
β—½ - Fast and Slow Pointers - Advanced Algorithms

Problems

# Title - NeetCode LeetCode Difficulty Video Solution Code Solution (may or may not exist) Time Space Anki
0206 Reverse Linked List - [Blind] Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0021 Merge Two Sorted Lists - [Blind] Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0143 Reorder List - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0019 Remove Nth Node From End of List - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0138 Copy List With Random Pointer Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0002 Add Two Numbers Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0141 Linked List Cycle - [Blind] Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0287 Find The Duplicate Number Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0146 LRU Cache Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0023 Merge K Sorted Lists - [Blind] Link Hard YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0025 Reverse Nodes In K Group Link Hard YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠

Trees

Prerequisites

β—½ - BST Insert and Remove - Data Structures & Algorithms for Beginners
β—½ - Depth-First Search - Data Structures & Algorithms for Beginners
β—½ - Breadth-First Search - Data Structures & Algorithms for Beginners
β—½ - BST Sets and Maps - Data Structures & Algorithms for Beginners
β—½ - Iterative DFS - Advanced Algorithms

Problems

# Title - NeetCode LeetCode Difficulty Video Solution Code Solution (may or may not exist) Time Space Anki
0226 Invert Binary Tree - [Blind] Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0104 Maximum Depth of Binary Tree - [Blind] Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0543 Diameter of Binary Tree Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0110 Balanced Binary Tree Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0100 Same Tree - [Blind] Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0572 Subtree of Another Tree - [Blind] Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0235 Lowest Common Ancestor of a Binary Search Tree - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0236 Lowest Common Ancestor of a Binary Tree - [Blind] - [Ex] - [ComEx] Link Medium N/A N/A N/A N/A ⚠️
0102 Binary Tree Level Order Traversal - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0199 Binary Tree Right Side View Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
1448 Count Good Nodes In Binary Tree Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0098 Validate Binary Search Tree - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0230 Kth Smallest Element In a Bst - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0105 Construct Binary Tree From Preorder And Inorder Traversal - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0124 Binary Tree Maximum Path Sum - [Blind] Link Hard YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0297 Serialize And Deserialize Binary Tree Link Hard YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0449 Serialize and Deserialize BST - [Blind] - [Ex] Link Medium N/A N/A N/A N/A ⚠️

Tries

Prerequisites

β—½ - Trie - Advanced Algorithms

Problems

# Title - NeetCode LeetCode Difficulty Video Solution Code Solution (may or may not exist) Time Space Anki
0208 Implement Trie Prefix Tree - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0211 Design Add And Search Words Data Structure - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0212 Word Search II - [Blind] Link Hard YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️

Backtracking

Prerequisites

β—½ - Subsets - Advanced Algorithms
β—½ - Combinations - Advanced Algorithms
β—½ - Permutations - Advanced Algorithms

Problems

# Title - NeetCode LeetCode Difficulty Video Solution Code Solution (may or may not exist) Time Space Anki
0078 Subsets Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0039 Combination Sum - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0046 Permutations Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0090 Subsets II Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0040 Combination Sum II Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0079 Word Search - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0131 Palindrome Partitioning Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0017 Letter Combinations of a Phone Number Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0051 N Queens Link Hard YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️

Heap / Priority Queue

Prerequisites

β—½ - Two Heaps - Advanced Algorithms

Problems

# Title - NeetCode LeetCode Difficulty Video Solution Code Solution (may or may not exist) Time Space Anki
0703 Kth Largest Element In a Stream Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
1046 Last Stone Weight Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0973 K Closest Points to Origin Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0215 Kth Largest Element In An Array Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0621 Task Scheduler Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0355 Design Twitter Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0295 Find Median From Data Stream - [Blind] Link Hard YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️

Graphs

Prerequisites

Problems

# Title - NeetCode LeetCode Difficulty Video Solution Code Solution (may or may not exist) Time Space Anki
0200 Number of Islands - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0695 Max Area of Island Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0133 Clone Graph - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0286 Walls And Gates Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0994 Rotting Oranges Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0417 Pacific Atlantic Water Flow - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0130 Surrounded Regions Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0207 Course Schedule - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0210 Course Schedule II Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0261 Graph Valid Tree - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0323 Number of Connected Components In An Undirected Graph - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0684 Redundant Connection Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0127 Word Ladder Link Hard YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️

1-D DP

Prerequisites

β—½ - Palindromes - Advanced Algorithms

Problems

# Title - NeetCode LeetCode Difficulty Video Solution Code Solution (may or may not exist) Time Space Anki
0070 Climbing Stairs - [Blind] Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0746 Min Cost Climbing Stairs Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0198 House Robber - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0213 House Robber II - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0005 Longest Palindromic Substring - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0647 Palindromic Substrings - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0091 Decode Ways - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0322 Coin Change - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0152 Maximum Product Subarray - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0139 Word Break - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0300 Longest Increasing Subsequence - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0416 Partition Equal Subset Sum Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️

Intervals

Prerequisites

Problems

# Title - NeetCode LeetCode Difficulty Video Solution Code Solution (may or may not exist) Time Space Anki
0057 Insert Interval - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0056 Merge Intervals - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0435 Non Overlapping Intervals - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0252 Meeting Rooms - [Blind] Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0253 Meeting Rooms II - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
1851 Minimum Interval to Include Each Query Link Hard YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️

Greedy

Prerequisites

β—½ - Kadane's Algorithm - Advanced Algorithms

Problems

# Title - NeetCode LeetCode Difficulty Video Solution Code Solution (may or may not exist) Time Space Anki
0053 Maximum Subarray - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0055 Jump Game - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0045 Jump Game II Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0134 Gas Station Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0846 Hand of Straights Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
1899 Merge Triplets to Form Target Triplet Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0763 Partition Labels Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0678 Valid Parenthesis String Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️

Advanced Graphs

Prerequisites

β—½ - Dijkstra's - Advanced Algorithms
β—½ - Prim's - Advanced Algorithms
β—½ - Kruskal's - Advanced Algorithms
β—½ - Topological Sort - Advanced Algorithms

Problems

# Title - NeetCode LeetCode Difficulty Video Solution Code Solution (may or may not exist) Time Space Anki
0332 Reconstruct Itinerary Link Hard YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
1584 Min Cost to Connect All Points Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0743 Network Delay Time Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0778 Swim In Rising Water Link Hard YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0269 Alien Dictionary - [Blind] Link Hard YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0787 Cheapest Flights Within K Stops Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️

2-D DP

Prerequisites

β—½ - 0 / 1 Knapsack - Advanced Algorithms
β—½ - Unbounded Knapsack - Advanced Algorithms
β—½ - LCS - Advanced Algorithms

Problems

# Title - NeetCode LeetCode Difficulty Video Solution Code Solution (may or may not exist) Time Space Anki
0062 Unique Paths - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
1143 Longest Common Subsequence - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0309 Best Time to Buy And Sell Stock With Cooldown Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0518 Coin Change II Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0494 Target Sum Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0097 Interleaving String Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0329 Longest Increasing Path In a Matrix Link Hard YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0115 Distinct Subsequences Link Hard YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0072 Edit Distance Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0312 Burst Balloons Link Hard YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0010 Regular Expression Matching Link Hard YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️

Bit Manipulation

Prerequisites

Problems

# Title - NeetCode LeetCode Difficulty Video Solution Code Solution (may or may not exist) Time Space Anki
0136 Single Number Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0191 Number of 1 Bits - [Blind] Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0338 Counting Bits - [Blind] Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0190 Reverse Bits - [Blind] Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0268 Missing Number - [Blind] Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0371 Sum of Two Integers - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0007 Reverse Integer Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️

Math & Geometry

Prerequisites

Problems

# Title - NeetCode LeetCode Difficulty Video Solution Code Solution (may or may not exist) Time Space Anki
0048 Rotate Image - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0054 Spiral Matrix - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A βœ…πŸ“˜
0073 Set Matrix Zeroes - [Blind] Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0202 Happy Number Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0066 Plus One Link Easy YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0050 Pow(x, n) Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
0043 Multiply Strings Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️
2013 Detect Squares Link Medium YouTube C C++ C# Dart GO Java JS Kotlin Python Ruby Rust Scala Swift TS N/A N/A ⚠️

About

πŸ“˜ Neetcode 150 practice problems + Blind 75 techniques. Includes quizzes/questions/tests in flashcards format (Anki) to learn patterns and solutions. πŸ“‘ Collection of 225 leetcode problems.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published