Merge pull request #1147 from Aaron-Lin-74/patch-4
Update 1002.查找常用字符.md
This commit is contained in:
commit
79b2453233
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue