Count Alternating Subarrays - Practice Coding | SlaveCode