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.
The tests are fine, your code is wrong, why would you need to hardcode the test with
144
as input otherwise?You can clearly see that the next bigger number with the digits of 144 is indeed 414, not 441 as your code (without the hardcoding part) returns.
When you think there is a problem with the tests, first check how many completions in the language you're using the kata already has:
Then provide some proof about what you think is wrong: language, input, expected output, your output, optionally, your code.
This bug report is bad.
The test results are incorrect