Skip to content

Commit

Permalink
2020-03-03
Browse files Browse the repository at this point in the history
  • Loading branch information
JiayangWu committed Mar 3, 2020
1 parent 1b3ebd8 commit 4f70832
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
class Solution(object):
def merge(self, A, m, B, n):
"""
:type A: List[int]
:type m: int
:type B: List[int]
:type n: int
:rtype: None Do not return anything, modify A in-place instead.
"""
A[:] = sorted(A[:m] + B)

0 comments on commit 4f70832

Please sign in to comment.