Kingsley's Knowledge Base
Search
Search
Dark mode
Light mode
Reader mode
Explorer
Home
❯
Data Structures & Algorithms
❯
NeetCode 150 — Solved
❯
questions
questions
3Sum
Add Two Numbers
Alien Dictionary
Balanced Binary Tree
Best Time to Buy and Sell Stock
Best Time to Buy and Sell Stock with Cooldown
Binary Search
Binary Tree Level Order Traversal
Binary Tree Maximum Path Sum
Binary Tree Right Side View
Burst Balloons
Car Fleet
Cheapest Flights Within K Stops
Climbing Stairs
Clone Graph
Coin Change
Coin Change II
Combination Sum
Combination Sum II
Construct Binary Tree from Preorder and Inorder Traversal
Container With Most Water
Contains Duplicate (LeetCode 217)
Copy List with Random Pointer
Count Good Nodes in Binary Tree
Counting Bits
Course Schedule
Course Schedule II
Daily Temperatures
Decode Ways
Design Add and Search Words Data Structure
Design Twitter
Detect Squares
Diameter of Binary Tree
Distinct Subsequences
Edit Distance
Encode and Decode Strings
Evaluate Reverse Polish Notation
Find Median from Data Stream
Find Minimum in Rotated Sorted Array
Find the Duplicate Number
Gas Station
Generate Parentheses
Graph Valid Tree
Group Anagrams
Hand of Straights
Happy Number
House Robber
House Robber II
Implement Trie (Prefix Tree)
Insert Interval
Interleaving String
Invert Binary Tree
Jump Game
Jump Game II
K Closest Points to Origin
Koko Eating Bananas
Kth Largest Element in a Stream
Kth Largest Element in an Array
Kth Smallest Element in a BST
Largest Rectangle in Histogram
Last Stone Weight
Letter Combinations of a Phone Number
Linked List Cycle
Longest Common Subsequence
Longest Consecutive Sequence
Longest Increasing Path in a Matrix
Longest Increasing Subsequence
Longest Palindromic Substring
Longest Repeating Character Replacement
Longest Substring Without Repeating Characters
Lowest Common Ancestor of a BST
LRU Cache
Max Area of Island
Maximum Depth of Binary Tree
Maximum Product Subarray
Maximum Subarray
Median of Two Sorted Arrays
Meeting Rooms
Meeting Rooms II
Merge Intervals
Merge K Sorted Lists
Merge Triplets to Form Target Triplet
Merge Two Sorted Lists
Min Cost Climbing Stairs
Min Cost to Connect All Points
Min Stack
Minimum Interval to Include Each Query
Minimum Window Substring
Missing Number
Multiply Strings
N-Queens
Network Delay Time
Non-overlapping Intervals
Number of 1 Bits
Number of Connected Components in an Undirected Graph
Number of Islands
Pacific Atlantic Water Flow
Palindrome Partitioning
Palindromic Substrings
Partition Equal Subset Sum
Partition Labels
Permutation in String
Permutations
Plus One
Pow(x, n)
Product of Array Except Self
Reconstruct Itinerary
Redundant Connection
Regular Expression Matching
Remove Nth Node From End of List
Reorder List
Reverse Bits
Reverse Integer
Reverse Linked List
Reverse Nodes in k-Group
Rotate Image
Rotting Oranges
Same Tree
Search a 2D Matrix
Search in Rotated Sorted Array
Serialize and Deserialize Binary Tree
Set Matrix Zeroes
Single Number
Sliding Window Maximum
Spiral Matrix
Subsets
Subsets II
Subtree of Another Tree
Sum of Two Integers
Surrounded Regions
Swim in Rising Water
Target Sum
Task Scheduler
Time Based Key-Value Store
Top K Frequent Elements
Trapping Rain Water
Two Sum
Two Sum II — Input Array Is Sorted
Unique Paths
Valid Anagram
Valid Palindrome
Valid Parentheses
Valid Parenthesis String
Valid Sudoku
Validate Binary Search Tree
Walls and Gates
Word Break
Word Ladder
Word Search
Word Search II