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.
Allthough you implement the check as described it is worth noting that
a^b (for a and b both integers) is even if and only if a is even.
Therefor you can save time by skipping the mapping x to x^3
Is sorting before uniq, more efficient than the other way around?
I believe that behaviour is limited to uniq!