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.
language JS
how to understand this: expected "" to equal ""
This comment is hidden because it contains spoiler information about the solution
This question is wrong, this is PascalCase, not camelCase.
CoffeeScript translation
This comment is hidden because it contains spoiler information about the solution
Generally speaking, camel case can refer to both upper CamelCase and lower camelCase. However, in the JavaScript ecosystem the convention is to use camelCase as the naming for the lowercase version and PascalCase for the uppercase version. Therefor, this Kata should be renamed.
For reference, you could take a look at how it's explained in the airbnb guide which is pretty much the most popular JS style guide: https://github.com/airbnb/javascript#naming--PascalCase.
This comment is hidden because it contains spoiler information about the solution
JavaScript, possibly other languages: Fixed tests contain inputs with leading and trailing spaces, while these are neither specified, nor tested with random tests.
Go: sample tests don´t test anything.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Rust version should not have parameter named after a primitive type: str. Aside from bad practice, it also prevents autocomplete in vscode extension rust-lang.rust.
No random tests in Ruby
Ruby 3.0 should be enabled (Refer this & this for more detail)
Duplicate
string passed in random test = 'gvHhSKYagwbwK VPSczvqyoEjgE zCcROzmIjvkLR vkFjRUubXFcfdia ikIOgCdYLwYC'
string returned by my function = 'GvhhskyagwbwkVpsczvqyoejgeZccrozmijvklrVkfjruubxfcfdiaIkiogcdylwyc'
error message says it shoud be = 'GvHhSKYagwbwKVPSczvqyoEjgEZCcROzmIjvkLRVkFjRUubXFcfdiaIkIOgCdYLwYC'
doesn't look very PascalCase (which is correct name for strings with first word capitalized) to me... It's just missing spaces with capitalized first letters (only first letters should be capitalized).
Loading more items...