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.
Just poor refactoring, it should replace the (Math/sqrt n) in the loop.
Why is "root" calculated but not used?
This comment is hidden because it contains spoiler information about the solution
@integral: I had a similar issue (in Clojure). The problem was, that my return value was not 1.2125, but something like 1.212500000000000001234 (which still was printid out like 1.2125).
So, you can try the following: printf("%f", going(n) - 1.2125), and see if you get anything else than zero.