TheAlgorithms / Java

All Algorithms implemented in Java
MIT License
58.84k stars 19.03k forks source link

refactor: `MaximumSumOfDistinctSubarraysWithLengthK` #5433

Closed alxkm closed 1 month ago

alxkm commented 1 month ago

Class cleanup. Readability improvements. Added tests.

codecov-commenter commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 50.78%. Comparing base (cd38531) to head (b1f4568).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #5433 +/- ## ============================================ - Coverage 50.79% 50.78% -0.01% Complexity 3139 3139 ============================================ Files 523 523 Lines 15109 15108 -1 Branches 2875 2874 -1 ============================================ - Hits 7674 7673 -1 Misses 7114 7114 Partials 321 321 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.