站桩之百日筑基
在老婆的再三威逼利诱下,清明节参加了胥荣东老师的站桩课。之后就开始了每日站桩练习,从4月8日到7月21日(23+31+30+21=105天),算起来中间有5天没站。今天刚好100天。
在老婆的再三威逼利诱下,清明节参加了胥荣东老师的站桩课。之后就开始了每日站桩练习,从4月8日到7月21日(23+31+30+21=105天),算起来中间有5天没站。今天刚好100天。
最重要的是日日不断,即使不能每天都站很久,比如60分钟,至少也应该站二三十分钟。仪式感很重要。
科学道理还不清楚,另外,也不是什么事都得有个“科学”道理的……吧。
已废弃,参考–算法练习LinkedList(三): P2、P19
Remove Duplicates from Sorted List 2 Medium
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list.
Example 1:
Input: 1->2->3->3->4->4->5 Output: 1->2->5
Example 2:
Input: 1->1->1->2->3 Output: 2->3
昨天做得有点郁闷了。‘精准原子’操作的套路还是没有掌握,写半天没完成效果。按照O(n2)的思路实现就有点暴力了。
linked-list Medium
You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list.
You may assume the two numbers do not contain any leading zero, except the number 0 itself.