/dsa

This repository serves as a study and exercise guide for JavaScript data structures and algorithms (DSA).

Primary LanguageTypeScript

JavaScript Data Structures and Algorithms (DSA)

Description

This repository is a hands-on guide for learning data structures and algorithms (DSA). It includes TypeScript code examples, test cases, and helpful utilities to make writing and testing solutions easier and more effective.

Testing

This project uses Jest for testing each solution to ensure everything works as expected. To run all tests, simply use: npm run test.

Table of Contents

Folder Structure

This project will continue to grow and evolve. It is organized by algorithms, data structures, and exercises. Each implementation includes unit tests.

root/
│
├── src/
│   ├── algorithms/
│   │   ├── sorting/
│   │   │   ├── bubbleSort.ts
│   │   │   ├── bubbleSort.test.js
│   │   │   └── ...
│   │   └── .../
│   ├── dataStructures/
│   │    ├── queue/
│   │    │   ├── queue.ts
│   │    │   ├── queue.test.js
│   │    └── ...
│   ├── exercises/
│   │    ├── debouce
│   │    │   ├── debounce.ts
│   │    │   ├── debounce.test.js
│   │    └── ...
├── package.json
└── jest.config.js

Resources