Here is a full program description with test cases and below it is my solution:
Given an array of integers int A[], find the length and location of the longest contiguous