LeetCode Top 100 Liked Questions - mhlptl/solutions GitHub Wiki

Easy

Question Solution
1. Two Sum Solution
20. Valid Parentheses Solution
21. Merge Two Sorted Lists Solution
53. Maximum Subarray Solution
70. Climbing Stairs Solution
88. Merge Sorted Array Solution
101. Symmetric Tree Solution
104. Maximum Depth Binary Tree Solution
121. Best Time to Buy and Sell Stock Solution
136. SingleNumber Solution
141. Linked List Cycle Solution
155. Min Stack Solution
160. Intersection of Two Linked Lists Solution
169. Majority Element Solution
206. Reverse Linked List Solution
226. Invert Binary Tree Solution
234. Palindrome Linked List Solution
283. Move Zeroes Solution
448. Find All Numbers Disappeared in an Array Solution
543. Diameter of Binary Tree Solution
617. Merge Two Binary Trees Solution

Medium

Question Solution
22. Generate Parentheses Solution
46. Permutations Solution
48. Rotate Image Solution
49. Group Anagrams Solution
78. Subsets Solution
94. Binary Tree Inorder Traversal Solution
102. Binary Tree Level Order Traversal Solution
215. Kth Largest Element in an Array Solution
230. Kth Smallest Element in a BST Solution
238. Product of Array Except Self Solution
287. Find the Duplicate Number Solution
347. Top K Frequent Elements Solution