From 325595d41bd597a57a102b75150e939aafa7e42f Mon Sep 17 00:00:00 2001 From: CyC2018 <1029579233@qq.com> Date: Fri, 14 Sep 2018 22:13:46 +0800 Subject: [PATCH] auto commit --- notes/Java 基础.md | 2 +- notes/剑指 offer 题解.md | 2 +- pics/70fa1f83-dae7-456d-b94b-ce28963b2ba1.png | Bin 0 -> 17408 bytes 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 pics/70fa1f83-dae7-456d-b94b-ce28963b2ba1.png diff --git a/notes/Java 基础.md b/notes/Java 基础.md index 5bb41ea6..0087fde7 100644 --- a/notes/Java 基础.md +++ b/notes/Java 基础.md @@ -1045,7 +1045,7 @@ private 方法隐式地被指定为 final,如果在子类中定义的方法和 **4. 构造器** -声明类不允许被`new`实例化,多用于`Singleton`模式中。如果该类有子类需要继承,若该类无其他构造器,则不允许被继承。 +声明类不允许被 `new` 实例化,多用于 `Singleton` 模式中。如果该类有子类需要继承,若该类无其他构造器,则不允许被继承。 ## static diff --git a/notes/剑指 offer 题解.md b/notes/剑指 offer 题解.md index 2c2be5b2..a797eaa1 100644 --- a/notes/剑指 offer 题解.md +++ b/notes/剑指 offer 题解.md @@ -1158,7 +1158,7 @@ public ListNode FindKthToTail(ListNode head, int k) { 在相遇点,slow 要到环的入口点还需要移动 z 个节点,如果让 fast 重新从头开始移动,并且速度变为每次移动一个节点,那么它到环入口点还需要移动 x 个节点。在上面已经推导出 x=z,因此 fast 和 slow 将在环入口点相遇。 -
C((tLu7Y_hXWzc z(Q!p4&$z05Yjde(K$mYG;@zeAiJMzvk?Mxbrd#V2yM~C9?x5E=2q$qc+-9BB{r!fD z_$k|>P?MY8Rd9NwW+- zOqhqmG;GI_)VjV3kGxgwCtPp_LW=x$d`X4x>l5^^%UW=T)$O)G^5IlkBw_|jW4y)e zddKXlWUhNQ$4S^%q-M+jA)5P<|B3uu9P;lsadu(jqIfCqa;~15ZHn+Nb~!EjcbeH& z8aLfpYw_a|IM^{MsFVEx5JA~OSBB C~i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