mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-07 07:35:35 +08:00
修复355.分发饼干.md js代码显示
This commit is contained in:
@ -197,11 +197,10 @@ func findContentChildren(g []int, s []int) int {
|
||||
|
||||
return child
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
Javascript:
|
||||
```Javascript
|
||||
|
||||
```
|
||||
var findContentChildren = function(g, s) {
|
||||
g = g.sort((a, b) => a - b)
|
||||
s = s.sort((a, b) => a - b)
|
||||
|
Reference in New Issue
Block a user