mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-09 11:34:46 +08:00
Merge pull request #794 from Jerry-306/patch-22
解决 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