Dessign the function intervalo_suma_cero(f, i) that, given a list f of integers and an integer i such that 0 ≤ i < len(f), returns the smallest value j ≥ i such that the sum of the elements in f from position i to position j is zero. If there is no such value, it will return -1.
About statements
The official statement of a problem is always the one
in the PDF document. The HTML version of the statement
is also given to help you, but may contain some content
that is not well displayed. In case of doubt, always use the PDF.