LeetCode101
- tags: Algorithm,Data Structures
又要开始找工作了,刷题、刷题、刷题!步骤:
- 按顺序找到题目
- 解题/学习
- 总结考察的点(树、双指针、回溯、DP、模拟现实、递归)
- 刷相同解法框架的题
一些模糊的感觉:
- 尝试不同的遍历顺序可能是解题关键,正序遍历不行试一下反序遍历,反之亦然!
以上到达一定量之后在 LeetCode 创建一个新的 session 重新刷起。
Links to this note
- LeetCodeNJ
- LeetCode101: 347. Top K Frequent Elements
- LeetCode101: 27. Remove Element
- LeetCode101: 18. 4Sum
- LeetCode101: 703. Kth Largest Element in a Stream
- LeetCode101: 1046. Last Stone Weight
- LeetCode101: 167. Two Sum II - Input Array Is Sorted
- LeetCode101: 16. 3Sum Closest
- LeetCode101: 15. 3Sum
- LeetCode101: 680. Valid Palindrome II
- LeetCode101: 344. Reverse String
- LeetCode101: 35. Search Insert Position
- LeetCode101: 74. Search a 2D Matrix
- LeetCode101: 287. Find the Duplicate Number
- LeetCode101: 142. Linked List Cycle II
- LeetCode101: 215. Kth Largest Element in an Array
- LeetCode101: 1337. The K Weakest Rows in a Matrix
- LeetCode101: 881. Boats to Save People
- LeetCode101: 991. Broken Calculator
- LeetCode101: 1663. Smallest String With A Given Numeric Value
- LeetCode101: 12. Integer to Roman
- LeetCode101: 11. Container With Most Water
- LeetCode101: 316. Remove Duplicate Letters
- LeetCode101: 763. Partition Labels
- LeetCode101: 9. Palindrome Number
- LeetCode101: 8. String to Integer (atoi)
- LeetCode101: 6. Zigzag Conversion
- LeetCode101: 7. Reverse Integer
- LeetCode101: 1249. Minimum Remove to Make Valid Parentheses
- LeetCode101: 769. Max Chunks To Make Sorted
- LeetCode101: 739. Daily Temperatures
- LeetCode101: 654. Maximum Binary Tree
- LeetCode101: 581. Shortest Unsorted Continuous Subarray
- LeetCode101: 503. Next Greater Element II
- LeetCode101: 496. Next Greater Element I
- LeetCode101: 402. Remove K Digits
- LeetCode101: 456. 132 Pattern
- LeetCode101: 219. Contains Duplicate II
- LeetCode101: 209. Minimum Size Subarray Sum
- LeetCode101: 187. Repeated DNA Sequences
- LeetCode101: 1695. Maximum Erasure Value
- LeetCode101: 3. Longest Substring Without Repeating Characters
- LeetCode101: 445. Add Two Numbers II
- LeetCode101: 2. Add Two Numbers