mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-07 15:45:40 +08:00
Merge pull request #1147 from Aaron-Lin-74/patch-4
Update 1002.查找常用字符.md
This commit is contained in:
@ -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 {
|
||||||
|
Reference in New Issue
Block a user