This is a comprehensive code practice repository with 80+ challenges, data structures, and algorithms. The project is currently migrating to TypeScript.
- Always create new files in TypeScript (.ts) unless there's a specific reason not to
- When modifying existing JavaScript files, consider converting them to TypeScript
- Entry point files (like CLI wrappers) may remain as .js for simplicity
- Follow existing patterns in the codebase
- Use the existing ESLint and TypeScript configurations
- Maintain the current test coverage standards
- Use
npm run generateto create new challenges/algorithms/data structures - This creates TypeScript files with proper boilerplate
- All code must have corresponding tests
- Run
npm testbefore committing changes - Maintain or improve the current test coverage (87.84%)
npm run generate- Create new boilerplatenpm test- Run all testsnpm run lint- Check code stylenpm run typecheck- Check TypeScript types (if available)
/algorithms- Algorithm implementations/challenges- Coding challenges/dataStructures- Data structure implementations/concepts- JavaScript/programming concepts/helpers- Utility functions