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 comment is hidden because it contains spoiler information about the solution
es un algoritmo pequeño y simple que se puede solicitar en una evaluación telefónica técnica o en una entrevista técnica. Puede tomar la ruta corta para resolver este problema, o tomar el enfoque resolviéndolo con recursividad o incluso soluciones más complejas.
Please see if this article helps: https://docs.codewars.com/training/training-example
im getting this error:
src/test/java/SolutionTest.java:8: error: cannot find symbol
assertEquals("dlrow", Kata.solution("world"));
^
symbol: variable Kata
location: class SolutionTest
1 error
Yep, there was nothing about returning in requirements. So even shorter is possible :)
retern is not need there