Number of Subarrays That Match a Pattern I (LeetCode)Count the number of subarrays in an integer array that match a given pattern.