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
commit 79b2453233
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

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 {