◐ Shell
clean mode source ↗

Improve N-Queens input validation and solution counting clarity by MayankSharma-2812 · Pull Request #1871 · TheAlgorithms/JavaScript

Conversation

@MayankSharma-2812

Improved input validation for board size and clarified solve() behavior by removing misleading return values while preserving solution counting logic.

@codecov-commenter

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.91%. Comparing base (08d8c6b) to head (22399de).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1871      +/-   ##
==========================================
- Coverage   85.91%   85.91%   -0.01%     
==========================================
  Files         379      379              
  Lines       19778    19777       -1     
  Branches     3015     3017       +2     
==========================================
- Hits        16993    16992       -1     
  Misses       2785     2785              

☔ View full report in Codecov by Sentry.
📢 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.

2 participants

@MayankSharma-2812 @codecov-commenter