The Contiguous Binary Array with Equal Numbers of Ones and Zeros November 26, 2019 algorithms, c / c++, coding exercise, hash No Comments Given a binary array, find the maximum length of a contiguous subarray with equal number of 0 and 1. Example 1: Input: Output: 2 Explanation: is the longest contiguous … [Continue Reading...]