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.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I used this part of the Wikipedia article about Pascal's triangle as a starting point, but others' far-more-elegant solutions used very different methods. I'd also be interested in more resources about this.
The initial Clojure code is misleading - we don't want a function websites, we want a vector. Yet if I'm not mistaken we start off with (defn websites []). Am I missing something?
I'm seeing HTML-escaped > symbols in kata previews in Chrome. See screenshot - when I click on the kata, those sequences correctly render as =>.
I have mixed feelings about that. Most kata would be dull if we could see the test cases ahead of time. But for this one I found it frustrating to write a perfectly valid number adder only to fail because the author wanted a number adder that works on numbers with leading zeroes. Eh.
Aw yeah.