Count Alternating Subarrays - DSA Problem | Talentd