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!
thanks!
Nice Kata!
But there should be some test cases with booleans outside of random cases as my solution passed all the tests with no check for booleans
done! thanks for also providing the solution!
added tests for checking duplication
ah i see , i will add that now. Thanks!
can you please provide an example? also should i add more test cases for duplication cases?
done!
thanks!
fixed!
thanks!
fixed! thanks!
done and mentioned it in the markup as well
EDIT- for some reason the tests are not getting updated but the markup did. I don't know why the test cases didn't get updated
EDIT2 - i got it to work
i just thought since you were supposed to return the element with the maximum of '1' bits , if there were no match then None is better than 0 , but i agree it is kinda unnecessary so i will remove that.
i forgot to change that , will fix it right now!
Hey all this my first kata , so any feedback or errors you find to report is appreciated!
This comment is hidden because it contains spoiler information about the solution