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
The description does not adequately describe the task. Should return true only if every letter from part1 and part2 is used in generating the input string. If this requirement is to be derived from the sample cases, then a sample test case should be given to show that leftover letters should return false.
In Python, I believe that most of the issues have already been addressed in the entire story. However, solutions like this one should not be accepted either.
Test Failed
Going bananas!
Expected: True
But was: False
I simply cannot debug it.
I even try to put this into my code s="Going bananas!", part1="", part2="" obviously wrong please fix error message imposible to find bug even tho i guess where bug is.. i dont want to be guessing bug, i want to learn
C++: Tests expecting
false
can by chance be created such that the inputs actually evaluate totrue
but since there is no reference solution in tests this case is not covered.See also https://www.codewars.com/kata/54c9fcad28ec4c6e680011aa/discuss/cpp#634d42614a39fac24b5971ef
oh common what is this wrongorder what the hell
D translation
can someone explain me, what/who is banana cheater?
It has a a lot of tests to stop "banana cheating" but needs some more tests to stop users from cheating the out of order tests.
Terrible descriptions. All restrictions should be mentioned (if
s
,part1
, andpart2
can be empty; Can or Mustpart1
andpart2
be empty after formings
).This comment is hidden because it contains spoiler information about the solution
Random testing is not guaranteed to fail this invalid solution.
The "random tests" in C# are not random at all.
assertTrue("'Can we merge it? Yes, we can!' is a merge of 'an e mrgite, we a!' and 'Cwee ? Yscn'", StringMerger.isMerge("'Can we merge it? Yes, we can!' ", "'an e mrgite, we a!'", "'CnwemrgtYescn' "));
This test case is wrong....... as the order is messed up and the string length doesn't queal the length of part1+part2 making it impossible to merge correctly.
Loading more items...