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++) {