Find The Longest Equal Subarray Leetcode Problem 9