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.
Thank you!
Fixed.
Thank you!
My apologies, the confusion was my own. I am not as good at reading Rust as I thought I was.
Good catch. I had the arguments backwards in my tests. Rookie mistake. I have fixed the bug and republished. Thank you!
Approved.
I would prefer that the Sample Test Cases only include the three basic tests, and performance based tests be reserved for the full test suite. The basic tests demonstrate how the user's solution should work while still being easy to understand. It also separates concerns a little better and keeps the tests consistent across translations.
You make a lot of good points. I have updated that final test to test against the full and complete answer. I also changed the test method to
expect()
so that the full answer wouldn't get logged to the console when the user got it wrong, since I feel like that could be abused.It does, but javascript will return "undefined" for out-of-bounds errors instead of crashing, so it works anyway.
This comment is hidden because it contains spoiler information about the solution
wut
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Could you elaborate on which specific aspect of the above code is dangerous or footgun-y?
Is my name Gordon Freeman, because I just found the Lambda Complex. ;D
Loading more items...