Given a list of numbers containing either 0\'s, 1\'s, or -1\'s, how can I find the longest portion of the list that starts with a +1 and ends with a -1.
For example,