- Problem solutions for leetcode
- Currently working through Blind 75, a collection of problems that cover the core concepts from each category.
- I'm also working through these problems in JavaScript
Problem | Difficulty | Done |
---|---|---|
Two Sum | Easy | ✅ |
Best Time to Buy and Sell Stock | Easy | |
Contains Duplicate | Easy | |
Product of Array Except Self | Medium | |
Maximum Subarray | Medium | |
Maximum Product Subarray | Medium | |
Find Minimum in Rotated Sorted Array | Medium | |
Search in Rotated Sorted Array | Medium | |
3Sum | Medium | |
Container With Most Water | Medium |
Problem | Difficulty | Done |
---|---|---|
Sum of Two Integers | Medium | |
Number of 1 Bits | Easy | |
Counting Bits | Easy | |
Missing Number | Easy | |
Reverse Bits | Easy |
Problem | Difficulty | Done |
---|---|---|
Climbing Stairs | Easy | |
Coin Change | Medium | |
Longest Increasing Subsequence | Medium | |
Longest Common Subsequence | Medium | |
Word Break Problem | Medium | |
Combination Sum | Medium | |
House Robber | Medium | |
House Robber II | Medium | |
Decode Ways | Medium | |
Unique Paths | Medium | |
Jump Game | Medium |
Problem | Difficulty | Done |
---|---|---|
Clone Graph | Medium | |
Course Schedule | Medium | |
Pacific Atlantic Water Flow | Medium | |
Number of Islands | Medium | |
Longest Consecutive Sequence | Medium | |
Alien Dictionary (Premium) | ||
Graph Valid Tree (Premium) | ||
Number of Connected Components in an Undirected Graph (Premium) |
Problem | Difficulty | Done |
---|---|---|
Insert Interval | Medium | |
Merge Intervals | Medium | |
Non-overlapping Intervals | Medium | |
Meeting Rooms (Premium) | ||
Meeting Rooms II (Premium) |
Problem | Difficulty | Done |
---|---|---|
Reverse a Linked List | Easy | |
Detect Cycle in a Linked List | Easy | |
Merge Two Sorted Lists | Easy | |
Merge K Sorted Lists | Hard | |
Remove Nth Node From End Of List | Medium | |
Reorder List | Medium |
Problem | Difficulty | Done |
---|---|---|
Set Matrix Zeroes | Medium | |
Spiral Matrix | Medium | |
Rotate Image | Medium | |
Word Search | Medium |
Problem | Difficulty | Done |
---|---|---|
Longest Substring Without Repeating Characters | Medium | |
Longest Repeating Character Replacement | Medium | |
Minimum Window Substring | Hard | |
Valid Anagram | Easy | |
Group Anagrams | Medium | |
Valid Parentheses | Easy | |
Valid Palindrome | Easy | |
Longest Palindromic Substring | Medium | |
Palindromic Substrings | Medium | |
Encode and Decode Strings (Premium) |
Problem | Difficulty | Done |
---|---|---|
Maximum Depth of Binary Tree | Easy | |
Same Tree | Easy | |
Binary Tree Maximum Path Sum | Easy | |
Invert/Flip Binary Tree | Hard | |
Binary Tree Level Order Traversal | Medium | |
Serialize and Deserialize Binary Tree | Hard | |
Subtree of Another Tree | Easy | |
Construct Binary Tree from Preorder and Inorder Traversal | Medium | |
Validate Binary Search Tree | Medium | |
Kth Smallest Element in a BST | Medium | |
Lowest Common Ancestor of BST | Medium | |
Implement Trie (Prefix Tree) | Medium | |
Add and Search Word | Medium | |
Word Search II | Hard |
Problem | Difficulty | Done |
---|---|---|
Merge K Sorted Lists | Hard | |
Top K Frequent Elements | Medium | |
Find Median from Data Stream | Hard |