Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

三行代码 #54

Closed
whace opened this issue May 27, 2020 · 1 comment
Closed

三行代码 #54

whace opened this issue May 27, 2020 · 1 comment

Comments

@whace
Copy link

whace commented May 27, 2020

`var merge = function(nums1, m, nums2, n) {

for(let i = 0; i< n; i++){
nums1[i+m] = nums2[i]
}
nums1.sort((a,b)=>a -b)
};`

@sisterAn
Copy link
Owner

这个是哪题的呀?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants