[LeetCode] LeetCode 문제 및 솔루션 리스트
Easy
- 1. Two Sum
- 13. Roman to Integer
- 14. Longest Common Prefix
- 20. Valid Parentheses
- 21. Merge Two Sorted Lists
- 26. Remove Duplicates from Sorted Array
- 66. Plus One
- 69. Sqrt(x)
- 70. Climbing Stairs
- 88. Merge Sorted Array
- 94. Binary Tree Inorder Traversal
- 101. Symmetric Tree
- 104. Maximum Depth of Binary Tree
- 108. Convert Sorted Array to Binary Search Tree
- 118. Pascal’s Triangle
- 121. Best Time to Buy and Sell Stock
- 125. Valid Palindrome
- 136. Single Number
- 141. Linked List Cycle
- 160. Intersection of Two Linked Lists
- 169. Majority Element
- 171. Excel Sheet Column Number
- 190. Reverse Bits
- 191. Number of 1 Bits
- 202. Happy Number
- 206. Reverse Linked List
- 217. Contains Duplicate
- 234. Palindrome Linked List
- 242. Valid Anagram
- 268. Missing Number
- 283. Move Zeroes
- 326. Power of Three
- 344. Reverse String
- 350. Intersection of Two Arrays II
- 387. First Unique Character in a String
- 412. Fizz Buzz
Medium
- 2. Add Two Numbers
- 3. Longest Substring Without Repeating Characters
- 5. Longest Palindromic Substring
- 7. Reverse Integer
- 8. String to Integer (atoi)
- 11. Container With Most Water
- 17. Letter Combinations of a Phone Number
- 15. 3Sum
- 19. Remove Nth Node From End of List
- 22. Generate Parentheses
- 28. Find the Index of the First Occurrence in a String
- 29. Divide Two Integers
- 33. Search in Rotated Sorted Array
- 34. Find First and Last Position of Element in Sorted Array
- 36. Valid Sudoku
- 38. Count and Say
- 46. Permutations
- 48. Rotate Image
- 49. Group Anagrams
- 50. Pow(x, n)
- 53. Maximum Subarray
- 54. Spiral Matrix
- 55. Jump Game
- 56. Merge Intervals
- 62. Unique Paths
- 73. Set Matrix Zeroes
- 75. Sort Colors
- 78. Subsets
- 79. Word Search
- 91. Decode Ways
- 98. Validate Binary Search Tree
- 102. Binary Tree Level Order Traversal
- 103. Binary Tree Zigzag Level Order Traversal
- 105. Construct Binary Tree from Preorder and Inorder Traversal
- 116. Populating Next Right Pointers in Each Node
- 122. Best Time to Buy and Sell Stock II
- 128. Longest Consecutive Sequence
- 130. Surrounded Regions
- 131. Palindrome Partitioning
- 134. Gas Station
- 138. Copy List with Random Pointer
- 139. Word Break
- 146. LRU Cache
- 150. Evaluate Reverse Polish Notation
- 152. Maximum Product Subarray
- 155. Min Stack
- 162. Find Peak Element
- 166. Fraction to Recurring Decimal
- 172. Factorial Trailing Zeroes
- 179. Largest Number
- 189. Rotate Array
- 198. House Robber
- 200. Number of Islands
- 204. Count Primes
- 207. Course Schedule
- 208. Implement Trie (Prefix Tree)
- 210. Course Schedule II
- 227. Basic Calculator II
- 230. Kth Smallest Element in a BST
- 236. Lowest Common Ancestor of a Binary Tree
- 237. Delete Node in a Linked List
- 238. Product of Array Except Self
- 240. Search a 2D Matrix II
- 279. Perfect Squares
- 287. Find the Duplicate Number
- 289. Game of Life
- 322. Coin Change
- 334. Increasing Triplet Subsequence
- 371. Sum of Two Integers
- 378. Kth Smallest Element in a Sorted Matrix
- 395. Longest Substring with At Least K Repeating Characters
- 454. 4Sum II
Leave a comment