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.
And related to zero specifically, zero is positive
My friend, in my first attempt I was wrong, but I came here and saw the Chrono79 comment, paid attention to the description and the examples, tried to solve in my mind and conclude that the description and the example test cases, at least in Ruby (as Thiago Pelizoni always says, Ruby "what you take from life", just kidding), are good. In the first round, from nothing to a positive or a negative number, you do not have a change. I think this is the "trick" of this Kata.
should be added more test cases in NASM, i need to apelate to gpt to create more test to know where signal change im wrong, so frustating lost 1 hour because of it. add this case as default please
{
const int arrin[7] = {1, 0, -2, 0, 3, 0, -4};
test(arrin, 7, 3);
}
good Kata !!
Haskell translation
Quite tricky kata although it doesn't seem at first.
goal
is the target sum.C++ Translation
nice bro, it was a more harder 7 kyu ngl
The message is telling you your solution returned 2 for that input. The correct answer is, indeed, 1.
I really not understand where is the mistake, is only 1 change from negative to positive arr[3-4]
Input: [-2,-2,-5,-4,5,2,0,6,0]
Assertion: expected 2 to equal 1
I'm a beginner. I had to spend 2 hours on this kata, it was hell for me, but I'm glad I got through it.
LC translation
Loading more items...