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.
Replace your sample tests with this:
And do what the last 4 test cases are telling you.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
If it doesn't work here, it doesn't work at all. Your code is wrong.
I think the last two test cases for python are incorrect.. I have ran the same code on Komodo edit and its working.
Hi, is the parameter type kept as Int intentionally(like a catch to the problem), as you are passing double values in your test cases to the function ?
Test 1b failing, I dont understand what's wrong.
Hi @Jarch24. Unfortunately there are many problems with your translation.
PascalCase
).Assert.AreEqual
, arguments should be(expected, actual)
, but you have them passed in as(actual, expected)
.C# translation, please feel free to provide feedback. Happy Coding
Happened to me too.
Took me a long time but I ended up realizing my code still wasn't efficient enough and fixed it.
Yep, this Kata sucks. I tried 3 different approaches locally and works fine while here I constantly gets timeouts.
I hadn't notice that you had raised an issue on this. Issues are for problems in the Kata, and your problem is in the code you posted.
If you need assistance with your code, you could simply ask a question without raising an issue.
The two arrays are not necessarily the same length and that's why you are getting this error. I advise you to research this error; you will learn alot.
This comment is hidden because it contains spoiler information about the solution
@KenKamau, Sorry , I fixed my code, it works fine. Thank You.
Loading more items...