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.
Is anyone able to explain what math is at work here?
I've tried understanding it, but can't quite figure it out.
Thanks very much,
Something's wrong with the tests....
Thanks for using scan, it's a cool method that I've now learned thank to this.
Awesome,
I had so much going on in mine, wrote out a whole function to calculate fibs,
Then built an array in the main function to prevent it from timing out on longer calculations.
But this just solves it in such a consise and easy to understand way.
Kudos
Thanks for commenting on my code.
I see that you took an almost identical aproach and I like how you skipped turning rbg into an array, by causing the input to store an array, that's pretty cool.
One thing I'm confused about is the use of '.ljust' instead of '.rjust'
For a value of, say 1.to_s(16).upcase.ljust(2, '0') => "10"
However, for the same 1.to_s(16).upcase.rjust(2, '0') => "01"
If 'ljust' and 'rjust' return different values for single digit results, is there something in your solution I'm not understanding or missing that makes ljust necessary instead of rjust?
Thank you very much for your time.
:D #The comments ..... :D
I really like this one
:D
That's an awsome method, I will be using it too,
Thanks