Number of Subarrays That Match a Pattern II - DSA Problem | Talentd