Leetcode Easy
Solutions and throught process for easy difficulty Leetcode problems.
Easy
1768. Merge Strings Alternately
#two-pointers
Easy
572. Subtree of Another Tree
#binary-tree
#dfs
Easy
100. Same Tree
#binary-tree
#dfs
Easy
110. Balanced Binary Tree
#binary-tree
Easy
543. Diameter of Binary Tree
#binary-tree
#dfs
Easy
104. Maximum Depth of Binary Tree
#binary-tree
#dfs
Easy
226. Invert Binary Tree
#binary-tree
#bfs
Easy
141. Linked List Cycle
#linked-list
Easy
21. Merge Two Sorted Lists
#linked-list
Easy
206. Reverse Linked List
#linked-list
Easy
121. Best Time to Buy and Sell Stock
#sliding-window
Easy
704. Binary Search
#binary-search
Easy
20. Valid Parentheses
#stack
Easy
125. Valid Palindrome
#two-pointers
#string
Easy
242. Valid Anagram
#hashmap
#frequency
Easy
217. Contains Duplicate
#hashmap
Easy
1. Two Sum
#hashmap
#math