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.
Wrong code. See fork.
.
A climb round is the absolute difference between the height of two locations. Moving through "0 1 0" results in 2 climb rounds because "0 -> 1" is ascending 1 and "1 -> 0" is descending 1, which is a total of 2.
This solution is incorrect for composite numbers divisible by numbers other than 2 or 3. 64603 isn't prime because it is divisible by 7, but returns True.