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.
good catch!
Good call!
(JS) I pass all of the example test cases, but when I run the full suite with random tests, the expected value is
[undefined, undefined]
on every single test.Oh, I take it you mean that only the first number should get N or S, and the second E or W? Good call.
Thanks for pointing this out! I changed the constraints to only provide positive input numbers.
Thanks for this feedback, I updated the description.
Thanks!
Thanks Adrian and Johan!
Thanks, @adrian.eyre. How do you set up random tests?
This comment is hidden because it contains spoiler information about the solution
The solution uses if statements...
That would be great, thanks!
Thanks for pointing this out!
Ha! Totally fair. I couldn't figure out how to raise an error if an if statement is used. I can totally take that out of the description. Thanks for the feedback!