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 is lacking. The second parameter, 'wager', appears to be the # of handshake cards, but 'wager' isn't even in the description.
Using JSON.stringify here is quite poor, imo. It's wasteful and the opposite of 'best practices'.
You don't need the nodes' values. They might not even have values.
It doesn't depend on using the node value. The values could all be identical. The nodes don't even need to store a value inside of them.
I like recursion, but there's an easy non-recursive solution.
I don't think one can generally put anything outside of an object or class in Scala. It's more like Java and C# than Python, Javascript, etc.
Thanks, please review this again. I added random tests.
I have added random tests. Please re-review this.
Thanks.
Scala requires functions to be inside of an object or a class, afaik.
If you know differently, please link me to relevant docs.
I'll add random tests.
If there's anyhting else wrong, please let me know.
Thanks
No, not accidentally.
Tests don't even run correctly.
Can you use a better variable name than integer? I think you even call it 'base' in the description...
You're not cooking them like a person normally would.
Is it really that obscure if you can Google it in a few minutes, and the completion rate is 82%?
Can you use a BigInt type or the equivalent?
Loading more items...