Longest Subarray With Two Distinct Values — Coding Problem — CareerVerse