This is a repo to keep track of my answers to leet code questions Every question will have a javascript file with the directions, pseudocode and answer in it
Below I will provide links to the relevant questions I am answering
-
Remove Duplicates from Sorted Array https://leetcode.com/explore/interview/card/top-interview-questions-easy/92/array/727/
-
Best Time to Buy and Sell Stock II https://leetcode.com/explore/interview/card/top-interview-questions-easy/92/array/564/
-
Intersection of Two Arrays II https://leetcode.com/explore/interview/card/top-interview-questions-easy/92/array/674/
-
Rotate Arrays https://leetcode.com/explore/interview/card/top-interview-questions-easy/92/array/646/
5.Contains Duplicate https://leetcode.com/explore/interview/card/top-interview-questions-easy/92/array/578/
-
Single Number https://leetcode.com/explore/interview/card/top-interview-questions-easy/92/array/549/
-
Plus One https://leetcode.com/explore/interview/card/top-interview-questions-easy/92/array/559/
8.Fibonacci Sequence https://leetcode.com/problems/fibonacci-number/
-
Reverse Linked List https://leetcode.com/problems/reverse-linked-list/
-
Reverse Integer https://leetcode.com/explore/interview/card/top-interview-questions-easy/127/strings/880/
-
First Unique Character https://leetcode.com/explore/interview/card/top-interview-questions-easy/127/strings/881/
12.Valid Palindrome https://leetcode.com/explore/interview/card/top-interview-questions-easy/127/strings/883/
-
Count and Say https://leetcode.com/explore/interview/card/top-interview-questions-easy/127/strings/886/
-
Longest Common Prefix https://leetcode.com/explore/interview/card/top-interview-questions-easy/127/strings/887/
-
Validate Binary Search Tree https://leetcode.com/explore/interview/card/top-interview-questions-easy/94/trees/625/
-
Maximum Depth of Binary Tree https://leetcode.com/explore/interview/card/top-interview-questions-easy/94/trees/555/