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
( JS, possibly others )
" ."
These things make counting words difficult, because they are not normal syllables, words, and sentences. The reference solution counts
"lbl"
as 1 word and 0 syllables. This may strictly comply with the specs, but I'd say it's not in the spirit of it.Javascript (at least, maybe other languages): User can mutate the input, expected result should be calculated before or a copy should be passed to the user.
Duplicate: https://www.codewars.com/kata/57bc5e0471f2ff9233000005/
C translation (author inactive)
F# translation
Objective-C translation
Lua translation
These languages are transferred from https://www.codewars.com/kata/523a86aa4230ebb5420001e1 with corresponding ammendments made to fit the current test suite. Please review and approve carefully!
Go translation
D translation
Rust translation
Sample tests is using
Test.assert_equals
but not the actual tests (they still useTest.expect
).Same issue in ALL kata with floats:
Don't round float results!
https://docs.codewars.com/authoring/kata/floating-point/
Decrementing
0
to-1
introduces negative numbers. It's not clear if they can be present in input too. If so, it should be tested.Loading more items...