Merge pull request #1147 from Aaron-Lin-74/patch-4

Update 1002.查找常用字符.md
This commit is contained in:
程序员Carl
2022-03-25 10:32:48 +08:00
committed by GitHub

View File

@ -253,6 +253,7 @@ var commonChars = function (words) {
return res
};
```
TypeScript
```ts
console.time("test")
@ -288,6 +289,7 @@ TypeScript
console.timeEnd("test")
return str.split("")
```
GO
```golang
func commonChars(words []string) []string {