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.
Thanks!
woah, jason!! You finished multiple days early?
Not if it doesnt pass all tests :( it failed the large tests due to timeouts :)
also, integer has .even? and .odd?
Why do you need the reverses?
I could break your code r = "123 S OH 43235 Street Columbus OH 43221", zipcode = "OH 43235"
you can name regex groups?!?!?!?!
is the ternary check on the last line necessary?
weird.... haha I want to hear how you came up with this.
Why is the Math.log necessary?
i tried to use first initially, but that didn't work so this is where I ended up, I like the solutions that use find.
curious about what's going on here with the ^[n]
what does set.add return if it exists/doesnt exist?
pretty close to mine!