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.
Because that's for javascript, google how to print an array in C++
Doesn.t work in c++
put
console.log(`arr = ${arr}`);
as the first line in your functionAnd how do you use the console.log?
Spoiler flag!!!
That's not kata issue, but problem with your code. (use question tag)
JavaScript Completions: 4265 (you can see at the top of this page or bottom of kata details page)
In short, your code is failing some tests, you can use
console.log()
to debug it and please read the error messages that are generated to help you.This comment is hidden because it contains spoiler information about the solution
console.log
the input.Is there any way to see the tests, or at least the ones that the code fails?