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.
Incredible Kata! I ended up making the mistake of printing the matrix while attempting to pass the larger test cases which led to me scratching my head as to why it wasn't passing. My code ended up being correct but was failing becuase a print statement I was using to debug was causing an Exit code 137 error. The more you know!
that's the joke (hence the ":)")
This comment is hidden because it contains spoiler information about the solution
Truly inspired <3
This comment is hidden because it contains spoiler information about the solution
So is the ordering
[x, y]
or[y, x]
?based on logging
position
's values for the random values test, it seems to be the latter.I really liked this problem. It's like a Yosemite 5.9.
I also misnamed my
peaks
key and was tearing my hair out so you're not alone!realized first
if
statement withinfor
loop was unnecessarythis kata is so buggy
Fun kata! Probably should be a soft 6 or normal 7 imo.
Any idea when this Kata will support later Ruby versions?
Or 2.7! Enumerable#tally isn't a thing in 2.5
It would be nice if there was an additional test case that deals with words that have both a leading/trailing special character and an internal special character. None of the current test cases deal with this scenario but it comes up in the random tests.
Loved this one!