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.
ye definately it is not 6.. its too easy.
This comment is hidden because it contains spoiler information about the solution
kata hint != kata suggestion
if you use a iteration to comprobe if b include element from a is better to do the iteration in descending order to dont have error
this kata seemed much easier than some of the 7kyu katas
should be fixed (made description language agnostic in the meantime
The bear effect
This comment is hidden because it contains spoiler information about the solution
Not a kata suggestion. A lot of katas have very biased upvotes, since the top-voted solutions are always at the top, they get upvoted constantly, but that does not mean they are "best practices".
I am suprised nobody used a set to solve the problem. All the top one liner solutions have a complexity of O(m * n), which is inefficent for large inputs
Not a kata suggestion. See https://docs.codewars.com/training/troubleshooting#post-discourse.
This comment is hidden because it contains spoiler information about the solution
Not a kata issue, the code you think is the right one does a different thing to what the kata asks:
If
a
is empty, your code returnsb
.This comment is hidden because it contains spoiler information about the solution
I do also believe that this is too easy for a 6 kyu, being more like a 7 kyu.
Loading more items...