Find the maximum length of continuous subarray with at max 3 unique numbers