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.
Why do we have to handle
double
's andchar
's? Do you think that copy-pasting the same code 2-3 times makes the kata better?The result of an invalid operation is indistinguishable from normal methods' behavior.
This example says that the result should be in lowercase which is wrong.
Solutions for dice with fixed 6 faces can be hardcoded. What about making the number of faces a parameter?
Inconsistent naming of variables and description:
(X^n)*(e^(-x))/n!
The formula contains both X, x and n, however the description talks about X and N. Apparently, X and x are the same, and N is n. Also, n suddenly becomes 'result' and x 'mean' in the C# code. This is not stated in the description. Albeit trivial, I would add it.
even if we fix this in the sample tests, there is no test output; the user is forced to submit in order to test their algorithm
I suggest you unpublish and read this documentation.
Yeah, I'm trying to figure that out. Thanks.
no random tests
sample tests are broken