Welcome to the DSA Practice Repository! This repository is organized to help you practice data structures and algorithms concepts, complete with test cases to ensure your code meets the expected criteria.
Each directory within this repository is labeled according to the DSA concept it covers. Subdirectories are organized by specific problem sets.
-
Run Tests for All Problems:
npm run test
-
Run Specific Test Case: To run test cases for a specific problem, use the following command format:
npm run test:path <directory Serial number> <sub Directory serial number>
Example:
npm run test:path 0051 01
- Generate Report for All Tests:
npm run report
- Memory Usage: Maximum array length of (10^6) or 4MB per array.
- Time Limit: Maximum iteration should be of (10^8).
-
Test Report URL:
View Test Reports -><workspaceDirectory>/coverage/pass_fail_report/
-
Coverage Report URL:
View Coverage Details -><workspaceDirectory>/coverage/lcov-report/
- If you encounter issues or need help understanding the problems or setup, please refer to our help guide or contact support via the GitHub issues tab.
This README provides a clear guide on how to use the repository, run tests, and view reports, making it useful for both newcomers and those familiar with the project. It keeps technical details accessible and organizes content into digestible sections.
For visual enhancements, you might consider adding badges for build status, coverage percentage, or other relevant metrics using services like Shields.io or similar. Here's an example of how to add a badge: