From dc45cfc14785d4f4a7efb40690fae05c325986a7 Mon Sep 17 00:00:00 2001 From: CyC2018 <1029579233@qq.com> Date: Sun, 29 Jul 2018 14:12:07 +0800 Subject: [PATCH] auto commit --- notes/剑指 offer 题解.md | 20 ++++++++++++------ pics/27ff9548-edb6-4465-92c8-7e6386e0b185.png | Bin 0 -> 8192 bytes pics/280f7728-594f-4811-a03a-fa8d32c013da.png | Bin 0 -> 7168 bytes pics/2858f8ad-aedb-45a5-a706-e98c96d690fa.jpg | Bin 0 -> 23552 bytes pics/6539b9a4-2b24-4d10-8c94-2eb5aba1e296.png | Bin 0 -> 17408 bytes pics/ea2304ce-268b-4238-9486-4d8f8aea8ca4.png | Bin 0 -> 23552 bytes pics/faecea49-9974-40db-9821-c8636137df61.jpg | Bin 0 -> 18432 bytes 7 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 pics/27ff9548-edb6-4465-92c8-7e6386e0b185.png create mode 100644 pics/280f7728-594f-4811-a03a-fa8d32c013da.png create mode 100644 pics/2858f8ad-aedb-45a5-a706-e98c96d690fa.jpg create mode 100644 pics/6539b9a4-2b24-4d10-8c94-2eb5aba1e296.png create mode 100644 pics/ea2304ce-268b-4238-9486-4d8f8aea8ca4.png create mode 100644 pics/faecea49-9974-40db-9821-c8636137df61.jpg diff --git a/notes/剑指 offer 题解.md b/notes/剑指 offer 题解.md index 9cf7dc2a..e36e7a85 100644 --- a/notes/剑指 offer 题解.md +++ b/notes/剑指 offer 题解.md @@ -1,4 +1,5 @@ +* [1. 前言](#1-前言) * [2. 实现 Singleton](#2-实现-singleton) * [3. 数组中重复的数字](#3-数组中重复的数字) * [4. 二维数组中的查找](#4-二维数组中的查找) @@ -80,6 +81,13 @@ +# 1. 前言 + +本文的绘图可通过以下途径免费获得并使用: + +- [ProcessOn](https://www.processon.com/view/5a3e4c7be4b0909c1aa18b49) +- [DrawIO](https://drive.google.com/file/d/1nSSCpPUC05MFoeFuf_aeTtkm7dG5-bJ1/view?usp=sharing) + # 2. 实现 Singleton [单例模式](https://github.com/CyC2018/Interview-Notebook/blob/master/notes/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F.md) @@ -456,7 +464,7 @@ public int pop() throws Exception { 如果使用递归求解,会重复计算一些子问题。例如,计算 f(10) 需要计算 f(9) 和 f(8),计算 f(9) 需要计算 f(8) 和 f(7),可以看到 f(8) 被重复计算了。 -
2GwZ}
zZ1ZmwKGjMxI&pjq*-iI3NriV6RhUf=pRMEw?_D)h5Vf^GEcyQwc@Sfe&nS-c`z$>x!3ZtQbO; J5fyUL-q)Rp?IQ=uAtPz*?H`))!J6H)Qanmoy#B!eddr{=GSxP`?-i2ML=X
zQ=_Zpd{3&Id9`RPuFi+j?%EFFAkC!z64=7_r$C2=242Kn*Sd^E!}%sowXT#sMVyX1
zgOh7Qaqv|P!SQ<1hcyTf?tP{*{!3t+3Qoz$u1m%zN*=n2Rw^6x;8HTdQ!7->rCq`6
zh7oKftkN=k07q9+Pe!=ds@rO17aU(4u!FsExTUrBAaO(^AybtXnUE=k$}*Rm$tqc5
zI@WMLqdI7a+UgR#&fD$!7;~tJn4gFHy4g-)XGR_CcE9mxYEsfEaOe{j6ZFRh@s~wq
zk<}~1E06ZJ91)%yukct^Ycj1iH?G5?CXWz&G2pz2=5viQ5icch`a=Q9-Uv
zkKY*(b&ZC<@4f5s+0s<1Pqy7~0V#b!j__!S;Aj{E--T^pNR!*6(0aLpPDuNatcK*A
zT#+Q!qq`JPbrO;4A0}VKKeTyBRUAVlT>(Xj&N$%@8iUo3ReX}pJxe*VG_4Z<;o$KV
zAG`n
M=l%jJQNUG4w2!kG-*=GhEeU;+}n&!Lc=i9=DKFnVtShEjl1bF
zT(7>kU+aB6f9*bla4c2Pst~^NhK_2N0U=*}H<~WX{gkBQkpf!tfq!Oxkk$5Y%4EqOx_)20
zQn=b}CTzGa5)M2=VDB^upWCJ>Y6#GaHb-mR>QUqN>DB26eEH*`xwT2%NR}^Oc?x?5
zbU3vnt1eC3(b_XDK(oK^Mu