FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add input validation to longest subarray sum algorithm by MayankSharma-2812 · Pull Request #1877 · TheAlgorithms/JavaScript · GitHub

Add input validation to longest subarray sum algorithm - #1877

Open
MayankSharma-2812 wants to merge 6 commits into
TheAlgorithms:masterfrom
MayankSharma-2812:add-input-validation-longest-subarray
Open

Add input validation to longest subarray sum algorithm#1877
MayankSharma-2812 wants to merge 6 commits into
TheAlgorithms:masterfrom
MayankSharma-2812:add-input-validation-longest-subarray

Conversation

Copy link
Copy Markdown

Improves robustness by validating inputs and handling empty arrays while preserving the existing sliding window logic.

codecov-commenter commented Jan 27, 2026
edited
Loading

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 80.00000% with 16 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.85%. Comparing base (08d8c6b) to head (b9fd4f8).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
Sliding-Windows/LongestSubarrayWithSumAtMost.js 62.50% 6 Missing ⚠️
Search/BinarySearch.js 66.66% 4 Missing ⚠️
Sorts/BubbleSort.js 82.60% 4 Missing ⚠️
Sorts/SelectionSort.js 71.42% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1877      +/-   ##
==========================================
- Coverage   85.91%   85.85%   -0.07%     
==========================================
  Files         379      379              
  Lines       19778    19805      +27     
  Branches     3015     3032      +17     
==========================================
+ Hits        16993    17004      +11     
- Misses       2785     2801      +16     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL