Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Count number of nice subarrays #160

Open
Mayukh69-gif opened this issue Oct 18, 2024 · 0 comments
Open

Count number of nice subarrays #160

Mayukh69-gif opened this issue Oct 18, 2024 · 0 comments

Comments

@Mayukh69-gif
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant