Welcome to my repository! This project is aimed at documenting my journey and learning progress as I study Data structures and Algorithms in JavaScript. The repository will include explanations, code implementations, test cases, and notes on key concepts.
- Overview
- Data Structures covered
- Algorithms covered
- Folder structure
- How to use
- Resources
- Contributing
- License
This repository serves as my learning journal and resource bank for Data structures and Algorithms using JavaScript The repository is designed to:
- Explore the theory behind various data structures and algorithms.
- Provide clean, well-documented implementations in JavaScript.
- Include time and space complexity analyses for each algorithm.
Feel free to explore the code, raise issues, or contribute if you find an improvement.
- Arrays
- Hash Tables
- Trees
├── Data structures/
│ ├── Arrays/
| | ├── Tests/
| | | ├── class-implementation.test.js
│ │ ├── array-basics.js
| | ├── class-implementation.js
| | ├── README.md
│ │
│ ├── Hash Tables/
| | ├── Tests/
| | | ├── class-implementation.test.js
| | |
│ │ ├── hash-tables-basics.js
| | ├── class-implementation.js
│ | ├── README.md
| |
│ ├── Trees/
| | ├── BST/
| | | ├── Tests/
| | | | ├── class-implementation.test.js
| | | |
│ │ | ├── BST-basics.js
| | | ├── class-implementation.js
| | |
│ | ├── README.md
| |
|
├── Algorithms/
│
├──
└── README.md
Each folder contains:
- Data structures/: Contains code implementation of various data structures
- Algorithms/: Contains sorting, searching, and other algorithm implementations
- Tests/: Unit test files for the implementations using libraries like Jest
- Clone the repository
git clone https://github.com/yourusername/The-Data-structures-and-Algorithms-in-JavaScript.git
- Navigate to the project directory:
cd The-Data-structures-and-Algorithms-in-JavaScript
- Run any file
node The-Data-structures-and-Algorithms-in-JavaScript/Data structures/Arrays/index.js
- Run tests (Optional, if using Jest)
npm run test
Contributions, issues, and features requests are welcome!
1.Fork the repository
2.Create a new branch (git checkout -b feature-brach)
3.Commit your changes (git commit -m 'Add feature')
4.Push to the branch (git push origin feature-branch)
5.Create a pull request
This project is licensed under the MIT License