Skip to content

Adam-hash-a11y/algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript Array Algorithms (100 Exercises)

100 array algorithm exercises implemented in TypeScript, progressing from simple to advanced. Each solution is tested, linted, and enforced with pre-commit hooks.

This project includes:

  • 100 fully implemented array algorithms in TypeScript
  • Unit tests for every exercise
  • ESLint + Prettier for code quality
  • Pre-commit hooks via Husky

Tech Stack

  • TypeScript
  • Jest
  • ESLint + Prettier
  • Husky

Installation

git clone https://github.com/Adam-hash-a11y/ts-array-algorithms.git
cd ts-array-algorithms
npm install

Run Tests

npm run test

Exercise Levels

Range Level
1 - 30 Simple
31 - 70 Medium
71 - 100 Hard

What This Covers

  • Array filtering, mapping, reducing
  • Sorting and searching
  • Grouping and frequency maps
  • Nested and deep arrays
  • String manipulation
  • Object arrays
  • Matrix operations
  • Real world data patterns

CI Pipeline

  • runs all tests on every push
  • runs ESLint checks
  • ensures quality before merge

Git Hooks

Pre-commit hooks via Husky ensure:

  • lint rules respected
  • tests pass before every commit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors