Ved22 wrote:
ISNT THE QUESTION SAYING K>=1 . SO WHY NEGATIVE INTEGERS ARE CONSIDERED?
k is the number of integers in the list. It is not one of the integers in the list. If k = 5, for example, that means the list contains 5 consecutive integers. But some of those integers could be negative. In fact, if "the sum of k consecutive integers is 0" it must be true that some of the integers in the list are negative, unless the list contains only one value. The sum of several consecutive integers could
...








