leet-code
Good Questions
Ad-Hoc
- https://leetcode.com/problems/single-number/description/
- https://leetcode.com/problems/excel-sheet-column-number/description/
- https://leetcode.com/problems/linked-list-cycle/description/
- https://leetcode.com/problems/game-of-life/description/
- https://leetcode.com/problems/my-calendar-iii/description/
- https://leetcode.com/problems/couples-holding-hands/description/
- https://leetcode.com/problems/median-of-two-sorted-arrays/description/
- https://leetcode.com/problems/rotate-image/description/
- https://leetcode.com/problems/majority-element/description/
- https://leetcode.com/problems/number-of-islands/
Backtracking
- https://leetcode.com/problems/longest-palindromic-substring/description/
- https://leetcode.com/problems/3sum/description/
- https://leetcode.com/problems/4sum/description/
- https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters/discuss/
- https://leetcode.com/problems/subsets/description/
Dynamic Programming
- https://leetcode.com/problems/ones-and-zeroes/description/
- https://leetcode.com/problems/knight-probability-in-chessboard/description/
- https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown/description/
- https://leetcode.com/problems/best-time-to-buy-and-sell-stock/description/
- https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee/description/
Greedy
Graph
- https://leetcode.com/problems/binary-tree-postorder-traversal/description/
- https://leetcode.com/problems/binary-tree-preorder-traversal/description/
- https://leetcode.com/problems/binary-tree-inorder-traversal/description/
- https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal/description/
- https://leetcode.com/problems/course-schedule/description/
Sorting and Searching
- https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix/description/
- https://leetcode.com/problems/average-of-levels-in-binary-tr ee/description/
https://leetcode.com/problems/majority-element/discuss/
Array
- https://leetcode.com/problems/shortest-unsorted-continuous-subarray/description/
- https://leetcode.com/problems/subarray-sum-equals-k/description/