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.
( 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.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_equalsbut 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
0to-1introduces negative numbers. It's not clear if they can be present in input too. If so, it should be tested.At least in Javascript: The tests don't require rounding to two places simply because they all happen to be at two digits of precision. The description mentions ignoring dashes, hyphens, apostrophes, ellipses and abbreviations, but none of those appear anywhere.
You should add some randomness:
Loading more items...