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.
Anybody has an online resource where I can understand lambdas better? thanx
This comment is hidden because it contains spoiler information about the solution
Yes, including me, now. I just had to repeat the attempt until the random test let me pass.
I went with Seq.sortBy, which should behave the same as Array.sortBy - but obviously doesn't.
Would you be so kind as to include a short passage about standard collection functions mayhaps behaving differently to each other in the F# version used by Codewars? That would give a hint at what the problem may be.
sadly, this is not tail recursive, as the last operation is the multiplication, not the recursion. Potentially, this might cause a stack overflow, even though you should hit the integer overflow first.
Nice because you did not need an inner function.
Not so nice because it isn't tail recursive and may cause a stack overflow.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution