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.
All non-lazy solutions are invalidated and no new have appeared in the meantime so issue seems sufficiently fixed.
Why for use lodash here? idk
Lua tests have been updated successfully. I don't know why you got that error message. But the kata editor has several known issues. Whenever you need to update a translation, make a fork of an existing translation and publish this new fork. It is easier to track changes made with forks and it is more reliable.
Issue: The reference solution returns
false
when the text does not containa
andb
anda == b
. But it should returntrue
. An example:Should be fixed, all elements of
answers
are now strings. Please verify.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This is a low kyu kata so values of input arguments should be printed for failed assertions (or for all assertions).
Sample tests fail with the following error message:
UPD: After some research and tests, I've noticed, that Clang 8 implements strings with a null-terminator in the memory layout. Technically, I dereference not
std::string::end
(which would be UB), but the address in memory, where\0
is located.I unpublished this kata because the initial solution contains the intended solution. The initial solution should be
Other issues
Undefined behavior for strings which end with
a
.Thank you very much for such detailed explanation!
See above
This comment is hidden because it contains spoiler information about the solution
Loading more items...