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 can view their solution by clicking on 'View Solution'
can you solve it by o(n) please?
Hi, i am suppose to return both as equal if they are both under or equal 0 health. They expect me to return a string which i did but the expect me to return it without quotation mark. How do i do that?
Expected: equal to "Lew"
Actual: "equal to "Harry""
I did not know this (very new to Python) but it makes sense. Thanks for pointing it out.
I did it ^_^
This comment is hidden because it contains spoiler information about the solution
python new test framework is required. updated in this fork
Let's do it step by step for the C#'s third test:
Clearly Harald wins in the third testcase and the expected solution is correct.
Whereas your solution did something like below:
There is actually problems in your code's logic, so I'll go ahead and mark this as resolved.
Best of luck in debugging your code & solving this!
I am getting an error in the third test, the code returns "harald" while the test claims it returns "harry". I tested it with the IDE, I don't have any problems.
Me too :PP
JS:
mocha
+chai
framework should be usedperhaps also
assert.deepEqual
instead of wasting CPU computation for individual assertions. Imagine if this were a Unit Testing for banking system software, it would have caused havoc upon release to the public...Description is a total cluster F***, everything should be generalized and made language-agnostic
python new test framework is required. updated in this fork
I was looking for this method haha! Thanks :)
Loading more items...