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.
simple and smart . good job !
good job solving it in a one line . I'm looking to learn this way of solving so you have an idea of what to search for on youtube?
I have the same issue . I don't even know what are te other test cases
I failed only one test , i spent two hours thinking why this test has been failed but no hope . I even tried to debug it !
Something wierd going on when I click submit .
I already tested all cases and everything is fine . but when I click submit it's showing me failed weird test cases that are not there .
" Test Positive
Test Passed: Value == 1
Test Passed: Value == 3
Test Passed: Value == 14
Expected: 127759, instead got: nil
Expected: 44178, instead got: nil
STDERR
/runner/frameworks/ruby/cw-2.rb:60:in
block in describe': Expected: 127759, instead got: nil (Test::Error) from /runner/frameworks/ruby/cw-2.rb:46:in
measure'from /runner/frameworks/ruby/cw-2.rb:51:in
describe' from /runner/frameworks/ruby/cw-2.rb:202:in
describe'from main.rb:10:in `'"