/leetcode-solutions-js

💡 JavaScript solutions for Leetcode

Primary LanguageJavaScript

leetcode-solutions-js

Javascript solutions for Leetcode problems

https://leetcode.com/vincehua/

solutions-list

✔ [  1 ] Two Sum                                                      Easy   (41.39 %)
✔ [  2 ] Add Two Numbers                                              Medium (30.54 %)
✔ [  3 ] Longest Substring Without Repeating Characters               Medium (27.33 %)
✔ [  4 ] Median of Two Sorted Arrays                                  Hard   (25.48 %)
✔ [  5 ] Longest Palindromic Substring                                Medium (27.80 %)
✔ [  6 ] ZigZag Conversion                                            Medium (30.59 %)
✔ [  7 ] Reverse Integer                                              Easy   (25.11 %)
✔ [  8 ] String to Integer (atoi)                                     Medium (14.78 %)
✔ [  9 ] Palindrome Number                                            Easy   (41.86 %)
✔ [ 11 ] Container With Most Water                                    Medium (42.45 %)
✔ [ 12 ] Integer to Roman                                             Medium (49.70 %)
✔ [ 13 ] Roman to Integer                                             Easy   (51.50 %)
✔ [ 14 ] Longest Common Prefix                                        Easy   (32.97 %)
✔ [ 15 ] 3Sum                                                         Medium (23.33 %)
✔ [ 16 ] 3Sum Closest                                                 Medium (38.00 %)
✔ [ 17 ] Letter Combinations of a Phone Number                        Medium (40.28 %)
✔ [ 20 ] Valid Parentheses                                            Easy   (35.84 %)
✔ [ 26 ] Remove Duplicates from Sorted Array                          Easy   (39.56 %)
✔ [ 27 ] Remove Element                                               Easy   (43.49 %)
✔ [ 34 ] Find First and Last Position of Element in Sorted Array      Medium (35.24 %)
✔ [ 36 ] Valid Sudoku                                                 Medium (41.75 %)
✔ [ 38 ] Count and Say                                                Easy   (39.44 %)
✔ [ 42 ] Trapping Rain Water                                          Hard   (41.78 %)
✔ [ 45 ] Jump Game II                                                 Hard   (29.84 %)
✔ [ 50 ] Pow(x, n)                                                    Medium (29.16 %)
✔ [ 55 ] Jump Game                                                    Medium (33.32 %)
✔ [ 58 ] Length of Last Word                                          Easy   (32.14 %)
✔ [ 62 ] Unique Paths                                                 Medium (51.47 %)
✔ [ 63 ] Unique Paths II                                              Medium (33.94 %)
✔ [ 64 ] Minimum Path Sum                                             Medium (51.08 %)
✔ [ 66 ] Plus One                                                     Easy   (40.63 %)
✔ [ 70 ] Climbing Stairs                                              Easy   (46.30 %)
✔ [ 121] Best Time to Buy and Sell Stock                              Easy   (49.51 %)
✔ [ 146] LRU Cache                                                    Medium (30.36 %)
✔ [ 198] House Robber                                                 Easy   (41.62 %)
✔ [ 213] House Robber II                                              Medium (35.95 %)
✔ [ 509] Fibonacci Number                                             Easy   (66.93 %)
✔ [ 557] Reverse Words in a String III                                Easy   (63.07 %)
✔ [ 605] Can Place Flowers                                            Easy   (30.67 %)
✔ [ 696] Count Binary Substrings                                      Easy   (52.41 %)
✔ [ 704] Binary Search                                                Easy   (50.72 %)
✔ [ 876] Middle of the Linked List                                    Easy   (63.22 %)
✔ [ 877] Stone Game                                                   Medium (60.45 %)
✔ [ 914] X of a Kind in a Deck of Cards                               Easy   (34.56 %)