老年退役选手的 LeetCode 休闲之旅
前言
不知不觉两年多的大学时光悄然流逝,浑浑噩噩的状态似乎从来没有离开过自己。
这两年刷题似乎一直是常态。在退役之后的现在,深感有些东西一段时间没有接触,很容易就变得陌生,遂萌生了刷 LeetCode 的想法,不知这一次能维持多久,谨以此记录来不时地警醒自己。
—— 记于2018年寒假
LeetCode之旅
一开始的计划是先不考虑tag,把题目限制在 1~200 题,刷题的顺序是按照难度(Easy-Medium-Hard),题号(1~200)。
结果一开始就纠结要用c++写还是用java,考虑到主要是为了熟悉算法,最后还是选择了比较顺手的c++
-
[LeetCode] 1. Two Sum(2018-02-12 23:45)
-
[LeetCode] 7. Reverse Integer(2018-02-13 00:58)
-
[LeetCode] 9. Palindrome Number(2018-02-14 01:12)
-
[LeetCode] 13. Roman to Integer(2018-02-14 01:46)
-
[LeetCode] 14. Longest Common Prefix(2018-02-15 01:52)
-
[LeetCode] 20. Valid Parentheses(2018-02-17 01:41)
-
[LeetCode] 21. Merge Two Sorted Lists(2018-02-19 02:54)
-
[LeetCode] 26. Remove Duplicates from Sorted Array(2018-02-20 02:12)
-
[LeetCode] 27. Remove Element(2018-02-20 02:18)
-
[LeetCode] 28. Implement strStr()(2018-02-20 02:42)
-
[LeetCode] 35. Search Insert Position(2018-02-21 00:53)
-
[LeetCode] 38. Count and Say(2018-02-21 01:13)
-
[LeetCode] 53. Maximum Subarray(2018-02-22 02:19)
-
[LeetCode] 58. Length of Last Word(2018-02-23 02:22)
-
[LeetCode] 66. Plus One(2018-02-24 01:58)
-
[LeetCode] 67. Add Binary(2018-02-25 01:09)
-
[LeetCode] 69. Sqrt(x)(2018-02-25 01:27)
-
[LeetCode] 70. Climbing Stairs(2018-02-25 01:35)
-
[LeetCode] 83. Remove Duplicates from Sorted List(2018-02-25 01:43)
-
[LeetCode] 88. Merge Sorted Array(2018-02-25 01:54)
-
[LeetCode] 100. Same Tree(2018-02-25 02:00)
-
[LeetCode] 101. Symmetric Tree(2018-02-26 00:51)
-
[LeetCode] 104. Maximum Depth of Binary Tree(2018-02-26 00:53)
-
[LeetCode] 107. Binary Tree Level Order Traversal II(2018-02-27 01:22)
-
[LeetCode] 108. Convert Sorted Array to Binary Search Tree(2018-02-27 01:28)
-
[LeetCode] 118. Pascal's Triangle(2018-02-27 01:37)
-
[LeetCode] 119. Pascal's Triangle II(2018-02-27 01:41)
-
[LeetCode] 121. Best Time to Buy and Sell Stock(2018-02-27 01:44)
-
[LeetCode] 122. Best Time to Buy and Sell Stock II(2018-02-28 01:38)
-
[LeetCode] 110. Balanced Binary Tree(2018-03-01 02:05)
-
[LeetCode] 111. Minimum Depth of Binary Tree(2018-03-02 02:29)
-
[LeetCode] 112. Path Sum(2018-03-05 01:06)
-
[LeetCode] 125. Valid Palindrome(2018-03-05 01:19)
-
[LeetCode] 136. Single Number(2018-03-06 01:34)
-
[LeetCode] 141. Linked List Cycle(2018-03-06 01:47)
-
[LeetCode] 155. Min Stack(2018-03-08 01:19)
-
[LeetCode] 160. Intersection of Two Linked Lists(2018-03-25 21:52)
-
[LeetCode] 167. Two Sum II - Input array is sorted(2018-03-26 14:36)