Imo, I think the instructions could have more clear. I took a lot of time trying to dissect the problem as well.
If the instructions were a bit more clear, I think this would have improved the quality of the problem.
The description of the kata is really poor literally spent almost 2 hrs figuring out and solving this with
the most ugliest solution.
also how is this 6kyu lol should be 5kyu imo
Well I call it Best Practices.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Imo, I think the instructions could have more clear. I took a lot of time trying to dissect the problem as well.
If the instructions were a bit more clear, I think this would have improved the quality of the problem.
Your code is returning
9
, it need to return-9
.Read the Kata's description again.
What was the problem? I'm getting the same and Idk what is it
I was really overthinking this lol
Now that's what I call clever
Got it now, I did not read the description properly
Without your code, we also don't know.
"expected 9 to equal -9" but my function returns -9?? not really sure what I'm doing wrong here
Nevermind my fault did not read the description properly
This:
if x>y - 3 points
if x<y - 0 point
if x=y - 1 point
should be rewritten as:
if x>y add 3 points
if x<y add 0 point
if x==y add 1 point
For a moment I thought I had to subtract :D
nly lsr wld mk qstn lk ths
The description of the kata is really poor literally spent almost 2 hrs figuring out and solving this with
the most ugliest solution.
also how is this 6kyu lol should be 5kyu imo
Nice kata!
Loading more items...