-
Notifications
You must be signed in to change notification settings - Fork 19.9k
Newbranch2 #6049
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
Newbranch2 #6049
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6049 +/- ##
============================================
+ Coverage 72.38% 72.40% +0.01%
- Complexity 4982 4988 +6
============================================
Files 653 654 +1
Lines 17574 17591 +17
Branches 3386 3390 +4
============================================
+ Hits 12721 12736 +15
- Misses 4372 4375 +3
+ Partials 481 480 -1 ☔ View full report in Codecov by Sentry. |
This pull request adds the SubarraysWithKDifferentIntegers algorithm to the sliding window section. The algorithm efficiently calculates the number of subarrays with exactly k different integers using a sliding window approach.Test have been also added for the same. |
We don't add leetcode problems |
ok |
clang-format -i --style=file path/to/your/file.java