Skip to content

This repo contains my implementation of various data structures and algorithms in JavaScript, with Jest test cases to ensure correctness. The goal is to help others learn and practice fundamental algorithms and data structures in JavaScript. The project is licensed under the terms of the MIT license

License

Notifications You must be signed in to change notification settings

IkboljonMe/javascript-algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Algorithms and Data Structures

This repo contains my implementation of various data structures and algorithms in JavaScript. The goal of this project is to help others learn and practice their understanding of fundamental algorithms and data structures.

The following data structures are implemented in this project:

Each data structure is implemented as a JavaScript class, and includes Jest test cases to ensure correctness.

The following algorithms are implemented in this project:

Each algorithm is implemented as a function, and includes Jest test cases to ensure correctness.

Usage

To use this project, simply clone the repo and run npm install to install the required packages. You can then run npm test to execute all the Jest test cases. To install all packages:

npm install

To test:

npm test

If you want to run tests for a specific data structure or algorithm, you can specify the file path of the test using the --PATH option. For example, to run tests for the linked list data structure, run npm test -- data-structures/linked-list.test.js.

npm test -- data-structures/linked-list.test.js

License

This project is licensed under the terms of the MIT license. See the LICENSE file for details.

About

This repo contains my implementation of various data structures and algorithms in JavaScript, with Jest test cases to ensure correctness. The goal is to help others learn and practice fundamental algorithms and data structures in JavaScript. The project is licensed under the terms of the MIT license

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published