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.
Thanks for making this Kata!
I found the instructions to "add one" a bit misleading for this example:
[1,0,0,0]
invert: [0,1,1,1] (= 7)
add 1: [1,1,0,0,0] (= 8)
Maybe include this example and say:
(I'm new to 2's complement, so maybe it's only confusing for people not familiar with it)
I'm not seeing the link to the chart either...
Yup, your solution is correct. Fixed!
All better!
Thank you! Yeah, I've got to fix those...
This should be the top solution.
Resolved.
Thanks! Fixed it.
Thanks! I've fixed it.
Test.assertDeepEquals() should be listed and explained for testing objects.
Yup! Thanks for the comment. I'm still figuring out testing. I didn't see "Test.assertDeepEquals" in the Codewars testing page, so I'll ask them to add that.
Thanks! My solution is wrong. Also, I'm going to add a case for tie breaking when islands are the same distance away.
Thank you for all the comments. I'll start working on these issues right now.
Thanks! I'll do it!
Thanks! Will do.
Loading more items...