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.
Updated Node to v12
input 7 has only one digit. so, 7**(1) is the way to look at it.
for example 456 is the input then execution looks like 43 +53 +6**3 because it has 3 digits
There are two missing images in the description of the problem. I believe that they are to images on wikipedia.
Yes, this is the JavaScript version.
Please specify language (I suspect JS), and mark it as an issue.
Thanks. I hope u rated it.
5 probably wouldn't be unreasonable. But I think it also passes for a "tough 6". Ratings are a little subjective here ;)
Approved
This comment is hidden because it contains spoiler information about the solution
This challenge is far more difficult than most of the 6 kyu, I've come across. Not sure what it should be, but certainly not level 6.
There is a discrepency between the intructions and the actual tests. Numbers with a decimal part should return "The number has a decimal part. No Results", but instead you test for "The number has a decimal part."
The exponent is based on the number of digits the number is composed of. So 7, being composed of 1 digit, would be 7^1, which is 7.
Thank you. Added random tests. I would welcome any comments about my tests and how to make them better. /fixed.
Thanks for the feedback. /fixed
Loading more items...