Problem: Given an integer array nums, a subarray is called balanced if the number of distinct even numbers equals the number of distinct odd numbers inside that subarray. We need to return the maximum ...