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.
Oh, I forgot to remove the leftovers before publishing (used them to validate the tests for generating the correct input). Removed them from both JS and TS.
TypeScript translation (author inactive)
This comment is hidden because it contains spoiler information about the solution
TypeScript translation
JavaScript translation
Chuck Norris beats everything, so it's pointless to play with him
TypeScript translation
The kata description should state what keycap emojis are, so the user can look for their codes in the kata description instead of digging through the specification.
For PHP I always
define
them as constants, because I never needed anything mutable in the preloaded section.Reference solution looks incorrect. I tested it against the string:
"kwHmZ ug. KPI. EOD OEzU. OOO IAM CyXJdz IAM. SVC. PThw tzPo. EOD. DGeJi. OmVId KPI. WAH"
returned:
"SVC. is an acronym. I do not like acronyms. Please remove them from your email."
The dot shouldn't be after the acronym.
Also, it has console.log leftovers.
Kotlin translation
Updated the description
Yes, TypeScript is transpiled to JS and generates the same JS code on the end, so it works the same way as JS, just has strict type checking on transpile time.
Updated this
Updated the solution to use directly, I was lazy to write a compatible type
Updated both tests and the example solution
Loading more items...