...

/

Challenge: A Sublist with a Sum of 0

Challenge: A Sublist with a Sum of 0

Try to solve the A Sublist with a Sum of 0 problem.

We'll cover the following...

Statement

Given a list containing both positive and negative integers, determine if there exists a sublist of consecutive elements whose elements sum to zero. Return TRUE if such a sublist exists; otherwise, return FALSE.

Constraints:

  • 11 \leq lst.length
...