3101. Count Alternating Subarrays

Click a thumbnail to watch in a lightweight modal. (No downloads — view only.)