Number of Subarrays That Match a Pattern I

mediumSolve on LeetCodeLast edited: August 2, 2025