コード例 #1
0
ファイル: test.py プロジェクト: johnnywsd/leetcode_python
 def test3(self):
     s = Solution()
     A = [0, 0, 0, 0, 0, 0, 0]
     B = [4, 6, 8]
     res = s.merge(A, 0, B, 3)
     print res
コード例 #2
0
ファイル: test.py プロジェクト: johnnywsd/leetcode_python
 def test1(self):
     s = Solution()
     A = [1, 3, 5, 7, 9, 0, 0, 0, 0, 0, 0]
     B = [4, 6, 8]
     res = s.merge(A, 5, B, 3)
     print res
コード例 #3
0
ファイル: test.py プロジェクト: johnnywsd/leetcode_python
 def test2(self):
     s = Solution()
     A = [1, 0, 0, 0, 0, 0, 0]
     B = [4, 6, 8]
     res = s.merge(A, 1, B, 3)
     print res