Must have been python. But 4 years later with 200+ python completions it's surely not an issue anymore...
Hmm, which version (language) of the kata are you trying to solve?
Not at all
Hi - is your code modifying the provided array?
I added a note to the description about not modifying the input array and also added a few tests to cover that.
Thanks!
What is up with this "9 should equal 1" issue I'm having because of "n of 0". It doesn't make sense. I've checked my code inside and out.
Specifically looked at this array ([1,1,5,6,9,16,27] , 4).
The output should be 3 because we are testing for the difference with the value of "n" not thinking ahead and puting in a "what-if".
Loading collection data...
Must have been python. But 4 years later with 200+ python completions it's surely not an issue anymore...
Hmm, which version (language) of the kata are you trying to solve?
Not at all
Hi - is your code modifying the provided array?
I added a note to the description about not modifying the input array and also added a few tests to cover that.
Thanks!
What is up with this "9 should equal 1" issue I'm having because of "n of 0". It doesn't make sense. I've checked my code inside and out.
Specifically looked at this array ([1,1,5,6,9,16,27] , 4).
The output should be 3 because we are testing for the difference with the value of "n" not thinking ahead and puting in a "what-if".