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 dont understand why you would set constants when they are already defined in the standard library
Given "the" triangle of odd numbers...
https://xkcd.com/221/
You might have chosen them randomly but they remain static values that could be hard coded.
I like this Kata! Thank you.
This is the prefered and idiomatic way
nice, but only maths
This comment is hidden because it contains spoiler information about the solution
Needs random tests.
As an aside, this likely has nothing to do with Einstein, the name is merely a tribute to someone I knew many years ago.
Of course, but you need to remeber that this task is designed for starters.
" " is not the only whitespace
Very elegant, I like the use of the Rust idiom
Just started on rust, and I was wondering if this was posible! Awesome