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.
Nice tests you wrote...
I cannot return a tuple, it wants an integer array?
The tests aren't broken at all.
Or you're confusing the logs, they appear above the test result (and just in case print the input beside a string) or you didn't get the instructions: the order matters, not only the count.
JavaScript
Which language?
I get a few errors (expected false, got true), but when logging the count, both parensRight and parensLeft are equal. The tests seem broken?
include the respective library for your language
I should've tested the value of z..
Thanks for clarifying!
the return array length should be assigned to the provided pointer
*z
before returning from your function. I hve added a note to the descriptionYou mean, it isn't in the sample tests, the final tests have two tests with a similar string. That's normal, sample tests are just that.
I'm getting
"< Incorrect array length >
Submitted: 0 Expected: 1"
for my C-code although I'm returning a dynamically allocated int-array of the size value of z.
I also checked its content which is a "2" for the first test.
Any suggestion as to why this error occurs/what I've missed?
Sorry, I fixed it. I reseted and inserted my code again and it works. Thank you, guys.
You're trying to use those methods on
undefined
, that's literally what the error says. Try usingconsole log
to debug the issue or post your code here (with proper formatting)But my code working in VScode with Node, and on the site error is "TypeError: Cannot read property 'charCodeAt' of undefined
at toCamelCase
at /home/codewarrior/index.js:24:23
at /home/codewarrior/index.js:22:4
at Object.handleError
(anonymous function) [as .js]"
Probably you're using them with something that's not a string.
Loading more items...