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.
Agree. Add the blank space and replace with the position could be in a single function
Your decision is very cool!
"Better" as in better for code golf, but not necessarily for production code.
i have one line for first time ^^. Im so proud :D
Beautiful.
How is this clever at all? I must be a genius, then.
The is what psychopathy looks like.
My solution was to actually compute the lookup table and cache it.
I was about to ask on a forumn if what I did was cheating, until I saw this.
Your code has actually 4 lines. Not that it matters, though.
same, i used recursion. 3 lines. I like mine better than top as well
How can two persons think of the exact same solution.
This comment is hidden because it contains spoiler information about the solution
That is just beautiful. It inspired me to write this program:
dat cool
Saying "this is how you'd want to write" is like apologizing for bad/long code. This is a coding competition, afterall.
Check out my solution and see how it's done.
Loading more items...