-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
88.merge-sorted-array解法有误 #62
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
Labels
help wanted
Extra attention is needed
Comments
我也发现了,代码在leetcode运行是不通过的。 我写的代码也通过不了,谁有通过的代码share一下,谢谢 |
kant-li
added a commit
to kant-li/leetcode
that referenced
this issue
Aug 3, 2019
经测试,三种语言的代码在LeetCode运行都通过,应该是确实没做greater测试用例,你这边是遇到什么其它问题吗? @slogeor |
kant-li
added a commit
to kant-li/leetcode
that referenced
this issue
Aug 3, 2019
kant-li
added a commit
to kant-li/leetcode
that referenced
this issue
Aug 3, 2019
azl397985856
pushed a commit
that referenced
this issue
Aug 9, 2019
azl397985856
pushed a commit
that referenced
this issue
Aug 15, 2019
azl397985856
pushed a commit
that referenced
this issue
Sep 22, 2019
* Fix solution on problem 88 with js, fixs #62 * Fix solution on problem 88, fixs #62 * Add python3 solution for problem 31 * Add python3 solution for problem 33 * Add python3 solution for problem 39 * Add python3 solution for problem 40 * Add language support description * Add python3 solution for problem46 * Add python3 solution for problem 47 * Add python3 code for problem 48 * Add python3 solution for problem 49 * Add python3 code for problem 55 * Add python3 solution for problem 56 * Add python3 solution for problem 86 * Update 31.next-permutation.md
azl397985856
pushed a commit
that referenced
this issue
Oct 19, 2019
azl397985856
pushed a commit
that referenced
this issue
Oct 25, 2019
azl397985856
pushed a commit
that referenced
this issue
Nov 11, 2019
* Fix solution on problem 88 with js, fixs #62 * Fix solution on problem 88, fixs #62 * Python solution for problem 90 * Add python solution for problem 92 * Add python solution for problem 94 * Add python code for problem 98 * add python code for problem 102 * add python code for problem 113 * Add python solution for problem 130 * Add python code for problem 131 * Add some comments for python code of problem 131
azl397985856
added a commit
that referenced
this issue
Feb 10, 2020
baicaihenxiao
pushed a commit
to baicaihenxiao/leetcode-frontend
that referenced
this issue
Apr 14, 2020
roy-lau
pushed a commit
to roy-lau/leetcode
that referenced
this issue
May 6, 2021
azl397985856
pushed a commit
that referenced
this issue
Aug 19, 2023
azl397985856
pushed a commit
that referenced
this issue
Aug 19, 2023
azl397985856
pushed a commit
that referenced
this issue
Aug 19, 2023
azl397985856
pushed a commit
that referenced
this issue
Aug 19, 2023
* Fix solution on problem 88 with js, fixs #62 * Fix solution on problem 88, fixs #62 * Add python3 solution for problem 31 * Add python3 solution for problem 33 * Add python3 solution for problem 39 * Add python3 solution for problem 40 * Add language support description * Add python3 solution for problem46 * Add python3 solution for problem 47 * Add python3 code for problem 48 * Add python3 solution for problem 49 * Add python3 code for problem 55 * Add python3 solution for problem 56 * Add python3 solution for problem 86 * Update 31.next-permutation.md
azl397985856
pushed a commit
that referenced
this issue
Aug 19, 2023
azl397985856
pushed a commit
that referenced
this issue
Aug 19, 2023
azl397985856
pushed a commit
that referenced
this issue
Aug 19, 2023
* Fix solution on problem 88 with js, fixs #62 * Fix solution on problem 88, fixs #62 * Python solution for problem 90 * Add python solution for problem 92 * Add python solution for problem 94 * Add python code for problem 98 * add python code for problem 102 * add python code for problem 113 * Add python solution for problem 130 * Add python code for problem 131 * Add some comments for python code of problem 131
azl397985856
added a commit
that referenced
this issue
Aug 19, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
输入为
结果应该为:
[1,2,2,3,5,6]
, 而不是[1,2,3,3,5,6]
,图片有误另外,题目中说的 nums1 的
size is greater or equal to m + n
, 所以current
初始值应该为m + n - 1
而不是nums1.length - 1
,leetcode能跑过应该是没有greater
的测试用例The text was updated successfully, but these errors were encountered: