6 kyu

Challenge Fun #17: Merge Arrays

69 of 302myjinxin2015
Description
Loading description...
Algorithms
  • Please sign in or sign up to leave a comment.
  • saudiGuy Avatar

    python new test framework is required. updated in this fork

  • monadius Avatar

    Performance constraints should be enforced in Python and C#.

  • Graham G Avatar

    My code runs all the sample tests on my machine, but all I get when I test the code on the site is "Unable to decode the command from the command line: UnicodeEncodeError: 'utf-8' codec can't encode character '\udce2' in position 699: surrogates not allowed"

    What does that mean?

  • user5504489 Avatar

    Well...I failed and try...failed...try... It's not a simple kata,the code has to be efficient and close to O(m+n). Very nice exercise!

  • smile67 Avatar

    Wrong random tests;-)?!

    Testing for:
    a = [33,33,34,34,34,37,37,37,37,38,38,38,38,41]
    b = [33,33,36,36,38,38,38,38,41,44,44,44,44,44,47] 
    ✘ Expected: [33, 34, 36, 37, 38, 41, 44, 44, 44, 44, 44, 47], instead got: [33, 34, 36, 37, 38, 41, 44, 47]