/LeetCode

Solutions for LeetCode problems with explanation of the approach used to solve each problem.

Primary LanguageJavaScript

LeetCode

LeetCode problems solutions

# Title Solution
1 Two Sum Javascript
2 Add Two Numbers Javascript
3 Longest Substring Without Repeating Characters Javascript
4 Median of Two Sorted Arrays Javascript
14 Longest Common Prefix Javascript
20 Valid Parentheses Javascript
21 Merge Two Sorted Lists Javascript
23 Merge k Sorted Lists Javascript
28 Find the Index of the First Occurrence in a String Javascript
50 Pow(x, n) Javascript
101 Symmetric Tree Javascript
121 Best Time to Buy and Sell Stock Javascript
129 Sum Root to Leaf Numbers Javascript
142 Linked List Cycle II Javascript
205 Isomorphic Strings Javascript
206 Reverse Linked List Javascript
392 Is Subsequence Javascript
409 Longest Palindrome Javascript
724 Find Pivot Index Javascript
876 Middle of the Linked List Javascript
958 Check Completeness of a Binary Tree Javascript
1480 Running Sum of 1d Array Javascript
1539 Kth Missing Positive Number Javascript
2177 Find Three Consecutive Integers That Sum to a Given Number Javascript
2348 Number of Zero-Filled Subarrays Javascript
2444 Count Subarrays With Fixed Bounds Javascript