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.
let n = '7';
n = +n;
console.log(n) //you will see 7.
You forgot to convert back string to number
This comment is hidden because it contains spoiler information about the solution
It's actual (your function's output) should equal expected actually, so you're returning a list of strings instead of a list of numbers.
The error message is pretty clear, what's the question?
ah, ok.
btw: if you wanna help, first step is to "help yourself": begin with doing the very basic debugging steps on your own:
and if that's not enough, you can come here to ask for help. But then, you'll never get any feeback if you don't provide any meaningful information, like at the very least: what kind of errors do you get? expections or just failed assertions?, what exception?, what assertion feeback?, ...
seriously...? :/
You didn't see my answer to your other message?
not an issue, a question.
(unfortunately, I don't do C++, so I cannot help)
See the last sample test.