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.
Although it makes sense that a kata created on old versoins of the platform would have gone through a different process before becoming public than how it would be right now, it still doesn't cover for the fact that solutions like this should not stay on the platform as correct answers.
Given the number of comments pointing to the incorrectness of the solution, it is expected that there would be some moderators to take action regarding such anomalies on the platform. Or otherwise having a report feature of some sort for taking care of these kind of legacy issues could also be a good idea.
I think it would be a better idea to keep these kind of problems in beta phase before they have proper test functions written for them.
codewars just lost all its credit for me with this upvoted "clever" answer.