leetcodeJS

Personal solution for leetcode problem using Javascript

View on GitHub

Problems Solved - 41

# Problem Name Difficulty Solution
8 String to Integer (atoi) Medium Solution
102 Binary Tree Level Order Traversal Medium Solution
114 Flatten Binary Tree to Linked List Medium Solution
144 Binary Tree Preorder Traversal Medium Solution
151 Reverse Words in a String Medium Solution
165 Compare Version Numbers Medium Solution
220 Contains Duplicate III Medium Solution
238 Product of Array Except Self Medium Solution
264 Ugly Number II Medium Solution
287 Find the Duplicate Number Medium Solution
430 Flatten a Multilevel Doubly Linked List Medium Solution
442 Find All Duplicates in an Array Medium Solution
535 Encode and Decode TinyURL Medium Solution
535 Encode and Decode TinyURL Medium Solution
938 Range Sum of BST Medium Solution
944 Delete Columns to Make Sorted Medium Solution
945 Minimum Increment to Make Array Unique Medium Solution
946 Validate Stack Sequences Medium Solution
950 Reveal Cards In Increasing Order Medium Solution
954 Array of Doubled Pairs Medium Solution
957 Prison Cells After N Days Medium Solution
958 Check Completeness of a Binary Tree Medium Solution
962 Maximum Width Ramp Medium Solution
1282 Group the People Given the Group Size They Belong To Medium Solution
1344 Angle Between Hands of a Clock Medium Solution
1476 Subrectangle Queries Medium Solution
1497 Check If Array Pairs Are Divisible by k Medium Solution
2149 Rearrange Array Elements by Sign Medium Solution
2396 Strictly Palindromic Number Medium Solution
2545 Sort the Students by Their Kth Score Medium Solution
2622 Cache With Time Limit Medium Solution
2623 Memoize Medium Solution
2625 Flatten Deeply Nested Array Medium Solution
2631 Group By Medium Solution
2637 Promise Time Limit Medium Solution
2694 Event Emitter Medium Solution
2721 Execute Asynchronous Functions in Parallel Medium Solution
2722 Join Two Arrays by ID Medium Solution
3121 Count the Number of Special Characters II Medium Solution
3159 Find Occurrences of an Element in an Array Medium Solution
3160 Find the Number of Distinct Colors Among the Balls Medium Solution