Find The Longest Equal Subarray Leetcode