/leetcode

LeetCode best(maybe) solutions with JavaScript

Primary LanguageJavaScript

Leetcode Solutions with JavaScript

23 solved

Almost every solution beats more than 98% of the others in runtime.

# Problems Solutions Difficulty
1 Two Sum Solution Easy
2 Add Two Numbers Solution Easy
11 Container With Most Water Solution Easy
11 3Sum Solution Easy
21 Merge Two Sorted Lists Solution Easy
26 Remove Duplicates from Sorted Array Solution Easy
53 Maximum Subarray Solution Easy
66 Plus One Solution Easy
88 Merge Sorted Array Solution Easy
118 Pascal's Triangle Solution Easy
121 Best Time to Buy and Sell Stock Solution Easy
122 Best Time to Buy and Sell Stock II Solution Easy
136 Single Number Solution Easy
169 Majority Element Solution Easy
189 Rotate Array Solution Easy
202 Happy Number Solution Easy
204 Count Primes Solution Easy
217 Contains Duplicate Solution Easy
242 Valid Anagram Solution Easy
268 Missing Number Solution Easy
283 Move Zeroes Solution Easy
350 Intersection of Two Arrays II Solution Easy
387 First Unique Character in a String Solution Easy