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.
You can refer to the Rust translation in the Authoring examples.
I have the same strategy as you do. I'm 41 katas left to finish every 8kyu. Good to see another crazy person here, haha.
check out the fork. i improved the number writing algorithm :)
Please don't raise a kata
Issue
when you're simply asking aQuestion
. See https://docs.codewars.com/training/troubleshooting/#post-discourse.Your second solution completely ignores the elements of the input, so it's obviously incorrect. It does pass the sample tests and fixed tests though, this is because there's only one test case in both, and its expected output happens to match what your second solution outputs.