--- tags: programming, leetcode --- # Selected Problems from LeetCode This page is used to list the [LeetCode](https://leetcode.com/) problems on which I suggest you could do coding exercise. ## Basic Skill: Arrays & Loops This section contains the problems which can be done by <font color = "Red">simply using loops and arrays</font>. * [1. Two Sum](https://leetcode.com/problems/two-sum/) * [15. 3Sum](https://leetcode.com/problems/3sum/) * [26. Remove Duplicates from Sorted Array](https://leetcode.com/problems/remove-duplicates-from-sorted-array/) * [27. Remove Element](https://leetcode.com/problems/remove-element/) * [35. Search Insert Position](https://leetcode.com/problems/search-insert-position/) * [121. Best Time to Buy and Sell Stock](https://leetcode.com/problems/best-time-to-buy-and-sell-stock/) * [122. Best Time to Buy and Sell Stock II](https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/) * [167. Two Sum II - Input array is sorted](https://leetcode.com/problems/two-sum-ii-input-array-is-sorted/) * [169. Majority Element](https://leetcode.com/problems/majority-element/) * [217. Contains Duplicate](https://leetcode.com/problems/contains-duplicate/) * [268. Missing Number](https://leetcode.com/problems/missing-number/) * [278. First Bad Version](https://leetcode.com/problems/first-bad-version/) * [645. Set Mismatch](https://leetcode.com/problems/set-mismatch/) * [1089. Duplicate Zeros](https://leetcode.com/problems/duplicate-zeros/) ## Data Structures ### Linked List * [Floyd's algorithm in Circular Linked List](https://hackmd.io/@sysprog/c-linked-list?type=view#circular-linked-list) ### Binary Tree * [100. Same Tree](https://leetcode.com/problems/same-tree/) * [101. Symmetric Tree](https://leetcode.com/problems/symmetric-tree/) * [104. Maximum Depth of Binary Tree](https://leetcode.com/problems/maximum-depth-of-binary-tree/) * [144. Binary Tree Preorder Traversal](https://leetcode.com/problems/binary-tree-preorder-traversal/) * [965. Univalued Binary Tree](https://leetcode.com/problems/univalued-binary-tree/) ### Binary Search Tree (BST) ### Graph ## Algorithms ### Recursion * [50. Pow(x, n)](https://leetcode.com/problems/powx-n/) ### Two-Pointer ### Divide & Conquer (DC) ### Dynamic Programming (DP) ### Backtracking