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.
Now, the tests should work better.
I am sorry, no hablo Clojure :(
I actually see... :-(
Do you see the problem in the tests?
But I think there is.
As 30 persons solved the kata, I do not think the tests are wrong.
@marbiru Original list with only two numbers can happen, but only when the difference and therefore the missing number are also integers,because long type is an integer type,which can't store floating point numbers.
For example, it can happen: [1,5] => d=2 => missing= 3
but it shouldn't happen in this kata: [1,4] => d=1.5 => missing= 2.5
Note that this kata HAS an issue, though (even if it might be totally unrelated to 1vaR's problem, yes): see my message above. This kata should be in the top ten of the "list of old katas to retire", IMO. ;)
No, but unless you can prove that the kata is doing something incorrectly (and by prove it's not "I think it's wrong because my code is not passing", you gotta need evidence and deduction and stuff) it's almost 99% your own code's problem, which it's improper, or even outright misleading to post as an issue. Not to mention that CW has lots of noobs around, and they'd blindly upvote any "issues" regardless of whether they're actually genuine.
And that's precisely describes what you're doing at the post above, so our first instinct is to tell you that it's not an issue, it's a question. Not inflating your own enquiries is the first step of self-learning ;-)
(Also, it goes without saying, but asking the same thing at other threads is a bad idea too, it annoys others, creates more noise and won't achieve its intended effect most of the time.)
Thanks for replying.
Since i haven't solved this kata i can't determine whether the problem i have is an a issue.
You remind me well,thanks again.
This comment is hidden because it contains spoiler information about the solution
what are E and V?
Technically yes you can solve it with 3 numbers, when adding the fourth number needed.
[1,2,4]==> 1,2=1 2,4=2
only one solution by adding 3 ==> [1,2,3,4].
Do you have example where it wont work with 3 numbers ?
Hi sir,can you take a look at my new issue about this kata?
It wouldn't take you much time,thanks!
Your katas are better than mines. :) I'll have some spare time since next week. I hope to be able to publish new ones, including the performance version for this one. Thanks for your encouragement.
I think the description basically says that already, just not super-explicitly, as I wanted people to think a bit more :)
Loading more items...