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.
double banging is definitely not a best practice in the ruby world
@Wei-LiangChew I'm a little late but then the while loop will iterate over with n - 1 = 8 (and so on)
But what if the largest 5-digit number in
digits
doesn't start with 9?The description states
first character must be picked from: alpha, underscore...
. Your code doesn't allow for the first character to be an underscore, hence the "expected: true, instead got: false"Hi there,
I need some help. I am failing only 2 tests out of 47 with my code:
1 Wrong result for '___' - Expected: true, instead got: false
2 Wrong result for '_k' - Expected: true, instead got: false
what am i doing wrong? any suggestions?
Hi, Random test is messed up. e.g. It should work for random inputs too - Expected: "Leon McNichol likes this likes this", instead got: "Leon McNichol likes this"; it shouldn't be my result correct with only one "likes this". Thanks