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.
I really don't think you should make two extra functions for determining if an integer is even or odd.
Why are all top solutions on this website the naive solution? This runs in O(n^2) and is simple to optimize with a hash map. Explain how having to potentially do 2^64 operations to solve a basic problem is "Best Practice" or "Clever"?
This comment is hidden because it contains spoiler information about the solution