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 think it could be helpful to be clearer with the suggestions!
Did you ever find any helplful resources? :)
Yep, Ruby version had a small bug: hopefully fixed and thanks for the inconvenience :)
Where can I go to learn more about how to speed code up? It would be great if helpful resources were pointed out! Cheers!
Jake listened to your prayers and the kata was thus upranked :)
Hi! That's correct as well. ^^ This kata didn't require class vars though.
Cheers. And in Ruby you also use @@ when declaring class variables!
In Ruby '$' symbol is used for defining global vars. You use '@' when declaring instance variables.
Well, proposal for a discussion about ranking in general submitted, if anyone feels like contributing :)
Hey Giacomo, can you please align the random tests in your translations with the ones in my Python test fixture? I did several blocks for those for a reason - they cover many corner cases.
Giacomo, I think you have a bug in your reference solution in Ruby - it does not add the sign to fractions that have no integer part. Please correct this.
Specify the language please. I suspect it is Ruby. I don't know much about Ruby, let's wait for Giacomo, he translated this.
Is this a fixable error?
Testing for -1/4
It should work for random inputs too - Expected: "1/4", instead got: "-1/4"
It looks like the random test cases lose the negative signs?
Oh, I see. And I was not notified on this, sorry for the delay: gladly approved :)
Loading more items...