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.
This comment is hidden because it contains spoiler information about the solution
hmm why does it print only from second number in the array? I tried in ruby 2.6.5
Here strings :)
What's the exact name of the <<< operator?
This comment is hidden because it contains spoiler information about the solution
Sorry and thanks for the reminder.
Use spoiler flag next time, please.
This comment is hidden because it contains spoiler information about the solution
THis is why the ruby standard library is so fantastic!
I'd say this is a lvl 6 kata, a little too toughfor lvl 7 IMO.
love this
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
return sorted r
Passing all sample tests and I know my code works, but there is some hidden test code that I'd like to see so I can tailor my code to pass the speciifc test. This is a little annoying since I've pretty much figured out the problem but the test code isn't there so I can't see the spec I'm writing to. This is the error message I'm receiving.
/runner/frameworks/ruby/cw-2.rb:38:in
expect': Expected: ["by", "ion", "ou"], instead got: ["by", "ou", "ion"] (Test::Error) from /runner/frameworks/ruby/cw-2.rb:115:in
assert_equals'from main.rb:35:in `'
Loading more items...