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.
2oo eazie for 6kyu, this is 7!!!
This is poorly specified. You can't tell exactly what it wants you to do for many types of strings without trying to run it.
Already raised as an issue
Fixed ( test removed )
Fixed for Haskell, JS.
Appear to still be missing in JS, C, C#, Rust, Java (no fixed tests at all), Crystal (no fixed tests at all), Ruby (no random tests)
Fixed for Python, CoffeeScript, Scala
Since JS appears to be the original language, I think the intent is only
camelCase
inputs.I think the same consensus was reached during the deduplication of this kata category, so I would remove them.
( JS, Haskell, possibly others )
This is not tested.
This comment is hidden because it contains spoiler information about the solution
camelCase != PascalCase
chai + assert + random tests for CoffeeScript
You're adding an empty string between the words, if the answer is "camel Casing", you are returning "camelCasing". But more importantly, this only solves the case of single word inputs or the input "camelCasing". You need to solve the general case so that it also handles "fooBar", "thisWordHere", and whatever else the user enters.
Loading more items...