Easy Questions
Here is a list of "easy" questions from LeetCode.
Reference: https://leetcode.com/explore/interview/card/top-interview-questions-easy/
Array
- Remove Duplicates from Sorted Array
- Best Time to Buy and Sell Stock II
- Rotate Array
- Contains Duplicate
- Single Number
- Intersection of Two Arrays II
- Plus One
- Move Zeroes
- Two Sum
- Valid Sudoku
- Rotate Image
Strings
- Reverse String
- Reverse Integer
- First Unique Character in a String
- Valid Anagram
- Valid Palindrome
- String to Integer (atoi)
- Implement strStr()
- Count and Say
- Longest Common Prefix
Linked List
- Delete Node in a Linked List
- Remove Nth Node From End of List
- Reverse Linked List
- Merge Two Sorted Lists
- Palindrome Linked List
- Linked List Cycle
Trees
- Maximum Depth of Binary Tree
- Validate Binary Search Tree
- Symmetric Tree
- Binary Tree Level Order Traversal
- Convert Sorted Array to Binary Search Tree
- Sorting and Searching
- Merge Sorted Array
- First Bad Version
Dynamic Programming
Design
- Shuffle an Array
- Min Stack
Math
- Fizz Buzz
- Count Primes
- Power of Three
- Roman to Integer
Others
- Number of 1 Bits
- Hamming Distance
- Reverse Bits
- Pascal's Triangle
- Valid Parentheses
- Missing Number