List of Leetcode questions. Few questions may not be from Leetcode but are equally important.
Tree
- Leetcode 94. Binary Tree Inorder Traversal (Recursive and Iterative)
- Leetcode 100. Same Tree or Identical binary trees.
- Leetcode 101. Symmetric Tree. Check whether the tree is a mirror of itself.
- Leetcode 144. Binary Tree Preorder Traversal (Recursive and Iterative)
- Leetcode 145. Binary Tree Postorder Traversal.
- Leetcode 173. Binary Search Tree Iterator.
- Leetcode 429. N-ary Tree Level Order Traversal.
- Leetcode 589. N-ary Tree Preorder Traversal using Recursion and Iteration.
- Leetcode 590. N-ary Tree Postorder Traversal using Recursion and Iteration.
- Binary Tree Preorder Iterator.
- Binary Tree Postorder Iterator.
String
- Leetcode 242. Valid Anagram.
- LeetCode 905. Sort Array By Parity–Moving Even Numbers to Left and Odd Numbers to Right.
- Find the first non-repeating character in a word.
- Count frequency of all characters in String.
- Count occurrences of a substring in input string.