Nice Subarrays Count

Given an array of integers nums and an integer k, return the number of contiguous subarrays that contain exactly k odd numbers.

A subarray is a contiguous non-empty sequence of elements within an array.

Examples
Input: [[1,1,2,1,1],3]
Output: 2
Hints

Nice Subarrays Count

Given an array of integers `nums` and an integer `k`, return the number of **contiguous subarrays** that contain exactly `k` odd numbers.