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 kata is named "Armstrong Number" but Armstrong numbers are defined slightly differently, see Wikipedia and wolfram.com.
The description for this kata is not very thourough. it doesnt say what should happen incase of a number with one digit, and it doesnt really give any example cases.
In the attempt 1 and 0 are treated differently than other single digit numbers which does not make sense, so I believe the solution is broken.
There are also no sample tests.
It's a double.
The other kata is not exactly the same, but this one does not have any added value over the other one (or the other way around) really.
See Forum -> Kata Best Practices -> Make Sure Content is New, or, identically really, the Wiki.
Since there is no way for you to unpublish the other kata, this issue would not seem to be resolvable short of unpublishing this kata.
The instructions could say something like "your function should return true if the number is an Armstrong number or false if it isn't".
The idea is good, but it needs Example Test Cases and Random Tests.
Seriously undertested.