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.
Thanks, I'm glad you like it!
You're welcome, I'm glad you liked them!
The
.slice()
method might be your friend.How did you solve it? Need help! Thanks
Are you sending a single int? The code
console.log(display(parseInt("1111101",2)))
seems to give the correct result, but the string "1111101" has the problem you mentioned.No need to apologize and glad you overcame the difficult part :)
Trust me that the instructions are more than clear and that those are NOT the last tests; try to
console.log()
the inputs and you should get an idea.