Hi everyone, this repository is used for storing the solutions for LeetCode in Javascript. The support resources for my video playlist for support learners.
- Two Sum
- Best Time to Buy and Sell Stock
- Maximum Subarray
- Contains Duplicate
- Longest Consecutive Sequence
- Valid Palindrome
- Valid Anagram
- Reverse Vowels of a String
- Reverse Words in a String III
- Group Anagrams
- Remove Linked List Elements
- Remove Duplicates from Sorted List
- Add Two Numbers
- Odd Even Linked List
- Remove Nth Node From End of List
- LRU Cache
- Maximum Depth of Binary Tree
- Path Sum
- Merge Two Binary Trees
- Validate Binary Search Tree
- Sum Root to Leaf Numbers
- Path Sum II
- Binary Tree Maximum Path Sum
- Minimum Depth of Binary Tree
- Average of Levels in Binary Tree
- Binary Tree Level Order Traversal
- Binary Tree Zigzag Level Order Traversal
- Binary Tree Right Side View
- Implement Trie (Prefix Tree)
- Replace Words
- Design Add and Search Words Data Structure
- Search Suggestions System
- Kth Largest Element in an Array
- Kth Smallest Element in a BST
- K Closest Points to Origin
- Top K Frequent Elements
- Sort Characters By Frequency
- Find K Closest Elements
- Reorganize String
- Merge Two Sorted Lists
- Merge k Sorted Lists
- Find K Pairs with Smallest Sums
- Kth Smallest Element in a Sorted Matrix
- Clone Graph
- Find if Path Exists in Graph - DFS
- Find if Path Exists in Graph - BFS
- All Paths From Source to Target
- Keys and Rooms
- Word Search
- Word Search II
- Number of Islands
- Surrounded Regions
- Max Area of Island
- 01 Matrix
- Word Ladder
- Find if Path Exists in Graph - Union Find
- Number of Provinces
- Number of Operations to Make Network Connected
- Longest Common Subsequence
- Shortest Common Supersequence
- Edit Distance
- Longest Increasing Subsequence