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.
Thank you!
With Ruby, MRI 3.0.0, all random tests are failing with the error
All basic tests are passing.
How is the
Parked vehicles are NOT moved
spec tested?I'm having trouble figuring how what I'm doing wrong.
Ruby description includes a link that leads to a
suspended account
error page.Should replace it with a live link to documentation such as https://ruby-doc.org/core-3.1.2/Enumerable.html#method-i-include-3F
It would be helpful to mention in the Kata description and in the sample tests that "Y" is not a vowel for the purposes of this Kata.
It's frustrating to have random tests fail for reasons that aren't made clear in the description.
All random tests fail with Ruby 3.0.0 with error
./spec/solution_spec.rb:38:in 'random_array': uninitialized constant Set (NameError)
The basic tests pass fine with Ruby 3.0.0
All tests pass fine with Ruby 2.5.0
Might be fixed by placing
require 'set'
at the top of the test cases.This comment is hidden because it contains spoiler information about the solution
Nice O(n) solution!
Good deal!
Why use symbols for the keys in the hash and not keep the strings with rockets?