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.
Hi @rsetkus. Sorry you feel that way.
I was only saying that when many people pass a Kata and you have not then that make your solution the "odd-one-out" - not the other way around. I am happy to be proven wrong, but I don't have time to chase shadows every time somebody claims a test problem but has no evidence to substantiate it.
Since you have now unlocked the Kata what did you find? Dd you find the cause of the problem? Was it test related? Was it description related? What do you suggest I do to improve this Kata?
FYI - I'm pretty sure those numbers have a different meaning to what you say. I thought they are specific to the language. AFAIK it means something like this.
EDIT: Actually you can just "hover" your cursor over that number (47 of 143) and see the tooltip confirms what I said.
*It looks correct on my end so it must be your problem bla bla bla*
If you want to actually help us looking for any potential issues, you should post your solution code with spoilers, and not being passive-aggressive over the whole thing. The latter is not actionable or helpful in any sense.
Oh this must be sarcasm, isn't it?! Very polite from you.
I am not stating that my solution is correct. I am just saying that my solution meets all necessary requirements and passes all sample tests and some extra tests. From the output I can see that my algorithm calculated as intentd but expected count is different. It doesn't mean it is correct whatsoever. I am sure that I am missing something but this is the problem of inconsistent description of problem.
Moreover, all failing methods are named after
randomX
which gives me clue that test consists of piece of code which generates data input. How you can be sure that is correct? Maybe it was a coinsidence for 47 attempts that those methods generated correct data input?About the numbers. For your information, did you know that 141 is total attempts (I think), it does't mean that they completed? If I am not mistaken 47 from 141 (about the third) managed to finish it. Two thirds gave up. Me to moving on as well. Unlocking this Kata.
Without evidence and only "doubts" I suggest perhaps consider the numbers - 141 other users have already passed this Kata OK which means they passed the random tests also.
There are only 2 possibilities:
All random tests are failing. Are you sure that they are correct? I have doubts about these tests. How come all other edge cases scenarios are passsing but just not these
random
?It says already:
-1.5 means they already passed my starting point 1.5 minutes ago
Can you explain this in more details. Is it the time used in context of other car speed on used in context of my speed?
For instance,
-1.5
other car is ahead from me 1.5 mins by other card speed or by my speed?Sure, simply print the input values to console:
e.g.
console.log
...System.out.println
...Passed first sample test cases but failing other tests on submition. My logic says it should be fine but your test assertations says NO ITS WRONG. Just, wondering would it be possible to get all inputs of test methods?