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.
For Java kata description, add the case for Tie game.
Where both players got the same score
Yes, my enum consists only of 2 values
PING
andPONG
But it wants for some reason for value
BINK
to be there...Hi, only I receive this error in java ?
I just implemented my own enum called
Player
, but seams like I am not able to do so...Renaming the enum also doesn't help.
Clever way of cheating :)
Hello everyone!
Can somebody please explain me this example:
I see here
5
ants,2
are alive and3
are dead, however testcase expects other resultPS: Used language, Java
What is
y[]
used for ?I was able to solve using
Math.random
and not implementing my own algorithm.I don't think this is an expected behaviour, passed using Java.
A small recomandation is to create separate testcases, and not placing all verifications in one test.
I got stuck for a long time on finding that dublicates points should be ignored.
Example for java:
Thanks, my main issue was comparing floating values like
12.999999999999998
and13
.How for example triangle
DCE
is a rectangle triangle ?Hi guys, can someone pls help me with the part to check if triangle is a rectangle one.
I use the basic formula
a^2 + b^2 = c^2
wherec
is the biggest side of the triangle. However, my algorigthm had found 0 triangles so far.Let's take for example the triangle
ABC
from description's picture.There are 3 rounded wides
which is obvious that this is not a rectangle triangle.
Very great kata, however will be nicer if you added more testcases and some edge examples. I enjoyed it a lot :)
Wonderfull kata, I enjoyed it a lot
Can somebody help me with this example to understand
expected:<[Nice Work Champ]!> but was:<[Get Out Now]!>
64 / 11 = 5, why its other result expected
Thanks for your briliant idea!
I have implemented this, and now its much easier to understand whats going on, on the chess board. Also I decresed the number of tests from 500_000 to 10_000(not sure how many tests should be, but at least they are not so many now).
Cheers :P
Loading more items...