From d47af5291680d2b2ef0604e5780089c4c9a817b2 Mon Sep 17 00:00:00 2001 From: Arthur Date: Sun, 31 Oct 2021 17:09:17 +0100 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=201002.=E6=9F=A5=E6=89=BE?= =?UTF-8?q?=E5=B8=B8=E7=94=A8=E5=AD=97=E7=AC=A6.md=20C=E8=AF=AD=E8=A8=80?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- problems/1002.查找常用字符.md | 1 + 1 file changed, 1 insertion(+) diff --git a/problems/1002.查找常用字符.md b/problems/1002.查找常用字符.md index a8450f29..5a8d1093 100644 --- a/problems/1002.查找常用字符.md +++ b/problems/1002.查找常用字符.md @@ -333,6 +333,7 @@ func commonChars(_ words: [String]) -> [String] { C: ```c +//若两个哈希表定义为char数组(每个单词的最大长度不会超过100,因此可以用char表示),可以提高时间和空间效率 void updateHashTable(int* hashTableOne, int* hashTableTwo) { int i; for(i = 0; i < 26; i++) {