6 kyu
Challenge Fun #17: Merge Arrays
69 of 302myjinxin2015
Loading description...
Algorithms
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
python new test framework is required. updated in this fork
Performance constraints should be enforced in Python and C#.
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?
the question is hard to answer. I don't know which language you are using, and what's the code. but it seems that you are using some special characters in your code.
https://stackoverflow.com/questions/10355818/python-utf-8-encoding-error same question on SO.
It's a known CW problem:
https://github.com/Codewars/codewars-runner-cli/issues/508
Thanks for responding so quickly, the link provided by Voile was particularly helpful. I could not find any non standard characters in my code.
I'd used python 3.6, on my local machine, the error occurred on the site when using language version 3.4.3, lenguage version 3.6.0 also would not run though the error was different, however the notes in Voiles link relating to issue 508, advised using language version 2.7.6, which ran and passed all of the tests first time!
Thanks once again...
This was a neat challenge, as I've used the collections library for the first time rather than ending up with nested loops.
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!
Wrong random tests;-)?!
Shame on me..
^_^
Please retry and let me know if it's fixed. Thanks ;-)Yes, thanks, works...;-)... Now the only issue is my slow code, stops at test #99;-)... So later on i have to look again:-)...