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 return res
}; };
``` ```
TypeScript TypeScript
```ts ```ts
console.time("test") console.time("test")
@ -288,6 +289,7 @@ TypeScript
console.timeEnd("test") console.timeEnd("test")
return str.split("") return str.split("")
``` ```
GO GO
```golang ```golang
func commonChars(words []string) []string { func commonChars(words []string) []string {