Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
For the final test data in Python Version, , when
n
is negtive, why the output should be zero?I think it's better to confirm this in description. -)
Nice kata, but that non-string inputs coercion is kinda silly. Invalid inputs are usually discarded, not forced to fit in.
The description does not state whether inverse inputs should be included (pointed out by myjinxin2015)
Please use new python test framework.
Javascript, both -3 and -5 are 1 unit away of -4
That isn't true.
Is it possible to solve this problem without libraries or brute force?
Include cases where str1 and str2 share letters.
In particular, include cases where the next letter of str3 is the same as the next letter of both str 1 and 2.
The information that str3 could also be made of letters that aren't given in str1 and str2 should be added in my opinion.
Duplicate:
https://www.codewars.com/kata/merged-string-checker
Good kata, needs random test cases