You need to sign in or sign up before continuing.×
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.
This comment is hidden because it contains spoiler information about the solution
Yes, it's not supposed to work, Idk how they validated it!
You have to add brackets as follows :
See Microsoft's documentation about string interpolation using
$
Thank you for your reply, i will try better next time.
It may not be exactly the same, but there are many katas doing this kind of stuff with some variation. I advice you to read carefully the content authoring guidelines before publishing new katas: https://docs.codewars.com/authoring/guidelines/
There are more than 7000 katas currently available on CodeWars. It's really getting hard to find out novel ideas, particularly with tasks implying only basic things like parsing, comparing, sorting, reducing...
These are two other similar katas:
i dont think that this kata is the same with https://www.codewars.com/kata/60dbc94243ca68000d2d191c/java
Counting digits in a number has been done before.
https://www.codewars.com/kata/60dbc94243ca68000d2d191c/java
This is issue is resolved
Random tests always expect
false
.plagiarism: https://stackoverflow.com/a/24031467