LeetCode - Contiguous Array
Problem statement
Given a binary array nums, return the maximum length of a contiguous subarray with an equal number of 0 and 1.
Problem statement taken from: https://leetcode.com/problems/contiguous-array.
Example 1:
Input: nums = [0, 1]
Output: 2
E...
alkesh26.hashnode.dev7 min read