π Collection of 225 leetcode problems. Includes solutions and quizzes/questions/tests in flashcards format (Anki) to learn patterns/techniques.
- π NeetCode
π ±οΈ Blind- π₯ LeetCode
- 𧩠Sean Prashad
- π« Tech interview handbook
- π§βπ» Hackernoon
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.
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
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 |
β½ - Dynamic Arrays - Data Structures & Algorithms for Beginners
β½ - Hash Usage - Data Structures & Algorithms for Beginners
β½ - Hash Implementation - Data Structures & Algorithms for Beginners
β½ - Prefix Sums - Advanced Algorithms
β½ - Two Pointers - Advanced Algorithms
# | 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 |
β½ - Stacks - Data Structures & Algorithms for Beginners
# | 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 |
β½ - Search Array - Data Structures & Algorithms for Beginners
β½ - Search Range - Data Structures & Algorithms for Beginners
β½ - Sliding Window Fixed Size - Advanced Algorithms
β½ - Sliding Window Variable Size - Advanced Algorithms
# | 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 |
β½ - Singly Linked Lists - Data Structures & Algorithms for Beginners
β½ - Doubly Linked Lists - Data Structures & Algorithms for Beginners
β½ - Fast and Slow Pointers - Advanced Algorithms
β½ - 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
β½ - Trie - Advanced Algorithms
# | 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 |
β½ - Tree Maze - Data Structures & Algorithms for Beginners
β½ - Subsets - Advanced Algorithms
β½ - Combinations - Advanced Algorithms
β½ - Permutations - Advanced Algorithms
β½ - Heap Properties - Data Structures & Algorithms for Beginners
β½ - Push and Pop - Data Structures & Algorithms for Beginners
β½ - Heapify - Data Structures & Algorithms for Beginners
β½ - Two Heaps - Advanced Algorithms
β½ - Intro to Graphs - Data Structures & Algorithms for Beginners
β½ - Matrix DFS - Data Structures & Algorithms for Beginners
β½ - Matrix BFS - Data Structures & Algorithms for Beginners
β½ - Adjacency List - Data Structures & Algorithms for Beginners
β½ - 1-Dimension DP - Data Structures & Algorithms for Beginners
β½ - Palindromes - Advanced Algorithms
# | 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 |
β½ - Kadane's Algorithm - Advanced Algorithms
β½ - Dijkstra's - Advanced Algorithms
β½ - Prim's - Advanced Algorithms
β½ - Kruskal's - Advanced Algorithms
β½ - Topological Sort - Advanced Algorithms
# | 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-Dimension DP - Data Structures & Algorithms for Beginners
β½ - 0 / 1 Knapsack - Advanced Algorithms
β½ - Unbounded Knapsack - Advanced Algorithms
β½ - LCS - Advanced Algorithms
β½ - Bit Operations - Data Structures & Algorithms for Beginners
# | 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 |