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.
actual and expected are swapped in PHP
Curious to know how people go about solving katas like this. I just try and identify some sort of formula through trial and error.
I come up with a guess for a formula and test it with some inputs. I keep repeating until I hit something. This doesn't seem
very efficient but not sure how else to solve problems like this...
Python: returning a wrong string breaks the solver in the random tests ;-)
How this is not a duplicate of https://www.codewars.com/kata/5befc5d6767c376e28000068 ?
what is
appropriate
?