Skip to content

Latest commit

 

History

History
39 lines (37 loc) · 3.07 KB

README.md

File metadata and controls

39 lines (37 loc) · 3.07 KB

Leetcode_Solutions_inJs

Solving Leetcode problems in Javascript in an optimal way (reduced time complexity)

(1) Two Sum : https://leetcode.com/problems/two-sum/
(2) Remove Duplicates from Sorted Array : https://leetcode.com/problems/remove-duplicates-from-sorted-array/
(3) Container With Most Water : https://leetcode.com/problems/container-with-most-water/
(4) 3Sum : https://leetcode.com/problems/3sum/
(5) Valid Anagram : https://leetcode.com/problems/valid-anagram/
(6) Fizz Buzz : https://leetcode.com/problems/fizz-buzz/
(7) Permutations : https://leetcode.com/problems/permutations/
(8) Permutations II : https://leetcode.com/problems/permutations-ii/
(9) First Unique Character in a String : https://leetcode.com/problems/first-unique-character-in-a-string/
(10) Happy Number : https://leetcode.com/problems/happy-number/
(11) Majority Element : https://leetcode.com/problems/majority-element/
(12) Pascal's Triangle : https://leetcode.com/problems/pascals-triangle/
(13) Missing Number : https://leetcode.com/problems/missing-number/
(14) Best Time to Buy and Sell Stock : https://leetcode.com/problems/best-time-to-buy-and-sell-stock/
(15) Valid Parentheses : https://leetcode.com/problems/valid-parentheses/
(16) Move Zeroes : https://leetcode.com/problems/move-zeroes/
(17) Debounce : https://leetcode.com/problems/debounce/
(18) Contains Duplicates : https://leetcode.com/problems/contains-duplicate/
(19) Search Insert Position : https://leetcode.com/problems/search-insert-position/
(20) Power of Three : https://leetcode.com/problems/power-of-three/
(21) Count Number of Pairs With Absolute Difference K : https://leetcode.com/problems/count-number-of-pairs-with-absolute-difference-k/
(22) Minimum Bit Flips to Convert Number : https://leetcode.com/problems/minimum-bit-flips-to-convert-number/
(23) Find The Original Array of Prefix Xor : https://leetcode.com/problems/find-the-original-array-of-prefix-xor/
(24) Minimum Operations to Make Array Equal : https://leetcode.com/problems/minimum-operations-to-make-array-equal/
(25) Number of Laser Beams in a Bank : https://leetcode.com/problems/number-of-laser-beams-in-a-bank/
(26) 3Sum Closest : https://leetcode.com/problems/3sum-closest/
(27) Search a 2D Matrix : https://leetcode.com/problems/search-a-2d-matrix/
(28) Add Two Numbers : https://leetcode.com/problems/add-two-numbers/description/
(29) Remove Nth Node From End of List : https://leetcode.com/problems/remove-nth-node-from-end-of-list/description/
(30) Remove Colored Pieces if Both Neighbors are the Same Color : https://leetcode.com/problems/remove-colored-pieces-if-both-neighbors-are-the-same-color/description/
(31) Merge Two Sorted Lists : https://leetcode.com/problems/merge-two-sorted-lists/
(32) Swap Nodes in Pairs : https://leetcode.com/problems/swap-nodes-in-pairs/
(33) Rotate List : https://leetcode.com/problems/rotate-list/
(34) Number of Good Pairs : https://leetcode.com/problems/number-of-good-pairs/
(35) Remove Duplicates from Sorted List II : https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii/