The hacktoberfest_2024 repository is dedicated to fostering collaboration and learning during Hacktoberfest. Whether you're a seasoned developer or just starting out, we encourage you to contribute and grow with us. This repository is a great place to share your DSA solutions, personal projects, and optimized code.
Given an array of integers nums and an integer k. A continuous subarray is called nice if there are k odd numbers on it.
Return the number of nice sub-arrays.
Given an array of integers nums and an integer k. A continuous subarray is called nice if there are k odd numbers on it. Return the number of nice sub-arrays.