mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-08 16:54:50 +08:00
解决 0455 分发饼干 JavaScript 版本代码没有样式问题
This commit is contained in:
@ -200,7 +200,7 @@ func findContentChildren(g []int, s []int) int {
|
||||
```
|
||||
|
||||
Javascript:
|
||||
```
|
||||
```js
|
||||
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