Skip to content

MIhnatco/The-Data-structures-and-Algorithms-in-JavaScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Data structures and Algorithms in JavaScript

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.

Table of Contents

Overview

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.

Data structures covered

  • Arrays
  • Hash Tables
  • Trees

Algorithms covered

Folder structure

├── 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

How to Use

  1. Clone the repository
git clone https://github.com/yourusername/The-Data-structures-and-Algorithms-in-JavaScript.git
  1. Navigate to the project directory:
cd The-Data-structures-and-Algorithms-in-JavaScript
  1. Run any file
node The-Data-structures-and-Algorithms-in-JavaScript/Data structures/Arrays/index.js
  1. Run tests (Optional, if using Jest)
npm run test

Resources

Contributing

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

License

This project is licensed under the MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published