Top Interview Questions - Easy Collection List
2021년 5월 21일을 기준으로 풀이를 모아둔다.
Array
- No.26 Remove Duplicates from Sorted Array
- No.122 Best Time to Buy and Sell Stock II
- No.189 Rotate Array
- No.217 Contains Duplicate
- No.136 Single Number
- No.350 Intersection of Two Array II
- No.66 Plus One
- No.283 Move Zeroes
- No.1 Two Sum
- No.36 Valid Sudoku
- No.48 Rotate Image
String
- No.344 Reverse String
- No.7 Reverse Integer
- No.387 First Unique Character in a String
- No.242 Valid Anagram
- No.125 Valid Palindrome
- No.8 String to Integer (atoi)
- No.28 Implement strStr()
- No.38 Count and Say
- No.14 Longest Common Prefix
Linked List
- No.237 Delete Node in a Linked List
- No.19 Remove Nth Node From End of List
- No.206 Reverse Linked List
- No.21 Merge Two Sorted Lists
- No.234 Palindrome Linked List
- No.141 Linked List Cycle
Trees
- No.104 Maximum Depth of Binary Tree
- No.98 Validate Binary Search Tree
- No.101 Symmetric Tree
- No.102 Binary Tree Level Order Traversal
- No.108 Convert Sorted Array to Binary Search Tree
Sorting and Searching
Dynamic Programming
- No.70 Climbing Stairs
- No.121 Best Time to Buy and Sell Stock
- No.53 Maximum Subarray
- No.198 House Robber