Community Problem

Fruit Into Baskets

Difficulty: Medium

Find the longest contiguous subarray that contains at most two distinct values.