A collection of data structures and algorithms implemented in JavaScript and TypeScript for learning, practice, and interview preparation.
- Implementations of popular algorithms and data structures
- Written in TypeScript and JavaScript
- Includes Jest tests for all algorithms
- Suitable for interview practice and self-learning
# Clone the repository:
git clone https://github.com/sattarrasouli/data-structures-algorithms.git
# Get to the directory
cd data-structures-algorithms
# Install dependencies:
npm install
# Run All algorithm Jest tests, with:
npx jest
data-structures-algorithms/
├── src/
│ ├── javascript/ # All javascript source files
│ │ ├── linked-list/
│ │ ├── queue/
│ │ └── stack/
│ │
│ └── typescript/ # All TypeScript source files
│ ├── dynamic-programming/
│ └── sorting-and-search/
│
├── CONTRIBUTING.md
├── .prettierrc
├── package.json
├── tsconfig.json
├── jest.config.ts
└── README.md
Contributions are welcome! Feel free to submit a pull request or open an issue.