Skip to content

Commit 185713a

Browse files
committed
feat: add solutions to lc problem: No.1617
No.1617.Count Subtrees With Max Distance Between Cities
1 parent 7c1c69a commit 185713a

File tree

7 files changed

+873
-6
lines changed

7 files changed

+873
-6
lines changed

lcci/17.13.Re-Space/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
## 题目描述
66

77
<!-- 这里写题目描述 -->
8+
89
<p>哦,不!你不小心把一个长篇文章中的空格、标点都删掉了,并且大写也弄成了小写。像句子<code>&quot;I reset the computer. It still didn&rsquo;t boot!&quot;</code>已经变成了<code>&quot;iresetthecomputeritstilldidntboot&quot;</code>。在处理标点符号和大小写之前,你得先把它断成词语。当然了,你有一本厚厚的词典<code>dictionary</code>,不过,有些词没在词典里。假设文章用<code>sentence</code>表示,设计一个算法,把文章断开,要求未识别的字符最少,返回未识别的字符数。</p>
910

1011
<p><strong>注意:</strong>本题相对原题稍作改动,只需返回未识别的字符数</p>

0 commit comments

Comments
 (0)