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 felt hard for a 7 kyu IMO.
nice kata!
Hi! Please could you add explanation describing addition. I mean, parts of the raised number. Thank you!
please fix javascript. Thx good kata btw
Thank you for the feedback, but after checking, the python code at the end of the link doesnt appear as a direct solution for this problem (while related).
Since this is a 7kyu kata, that looks fine to me.
Have you tried it, did it pass the tests ?
on the link provided for kaprekan number at the end there is a solution coded in python! Probably better replace it with another link
Thank you Kacarott !
Approved.
Could someone please review ?
Seems both author and initial translator are inactive for a long time ...
Python translation kumited :
https://www.codewars.com/kumite/5b709bea4eb880133300005a?sel=605d3f58d69b730033e1616a
Please review and approve.
This comment is hidden because it contains spoiler information about the solution
That's exactly the issue, read this
This comment is hidden because it contains spoiler information about the solution
Maybe you shouldn't modify the input?
There is something wrong with the random test cases for ruby. For all the random cases, the expected answer is [] regardless of the input.
The following is my code which should work, but is failing all the random test cases due to the bug.
def array_diff(a, b)
diff = a.select { |x| !b.include? x}.each {|x| a.delete(x)}
return diff
end
Loading more items...