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.
straight from stackoverflow. nice.
I think it's pretty obvious that I wasn't concerned with the readability of this solution.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Wowzers. That is some serious effort. One one hand I want to commend you and on the other I want to tell you to take a closer look at the standard library. One of the reasons Ruby can be written in such a concise manner is because of it's very powerful and robust standard library. There are methods for everything it seems. Good luck in your journey!
Yup.
This looks kind of silly now that I've seen everyone else use the bitwise operator.
This comment is hidden because it contains spoiler information about the solution