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.
You're right. The returning type was incorrect.
I've implemented my solution in F#, but when I go ahead and test it, the following error appears:
/home/codewarrior/program.fsx(32,48): error FS0001: This expression was expected to have type
'int * int * int'
but here has type
''a list'
Translation complete.
This comment is hidden because it contains spoiler information about the solution
This does not scale well. Have you tried any n greater than 1,000,000?
Besides, your
for
loop should start withint i = 3
obviously because this is the first divisible number by 3.I've just fixed the error messages. I am now asserting the IDictionary.Keys and IDictionary.Values collections separately.
Preload.Utils.Normalize(string)
;histogramBin
in order to complete the problem. Counting is just a pretext to work on the contract itself.Thank you for your reply!
The bug has been fixed. Please call
Preloaded.Utils.Normalize(string)
.I've just replaced some otherwise ambiguous plurals with the suggested
es
ending, likeboxes
,waitresses
etc., which require just removal of thees
to make it into singular form.The kata description was updated, too, clarifying the situation.
This kata is intended for beginners.
Thank you, I've just fixed the Sample Test.
Indeed, 33, 35, and 42 are struck-through, so they are not being taken into account.
This comment is hidden because it contains spoiler information about the solution