Skip to content
/ algojo Public

An Open-Source Data Structure and Algorithm Library for Javascript πŸ‘©β€πŸ’»

License

Notifications You must be signed in to change notification settings

Ukhang/algojo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

42 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Algojo

An Open-Source Data Structure and Algorithm Libarary for Javascript πŸ‘©β€πŸ’»

GitHub licence Package version Github Contributors

NPM

Installation βš™οΈ

npm install algojo --save

Demo πŸ’»

import { linarSearch } from "algojo";

console.log(linearSearch([1, 2, 3, 4, 5, 6, 7], 5)); // 4

Contributions ✨

algojo is open to contributions, Please read CONTRIBUTING.md for details on this project.

Algorithms 🧠

  • Searching Algorithm πŸ”

Name Params Time Complexity Space Complexity
Linear Search Array, number O(n) O(1)
Binary Search Array, number O(log n) O(1)
Jump Search Array, number O(n) O(1)
interpolation Search Array, number O(log n) O(1)
Fibonacci Search Array, number O(log n) O(1)
  • Sorting Algorithm πŸ“Š

Name Params Time Complexity Space Complexity
Selection Sort Array O(n^2) O(1)
Insertion Sort Array O(n^2) O(1)
Merge Sort Array O(n log(n)) O(n)
Bubble Sort Array O(n^2) O(1)

All contributors πŸ‘¨β€πŸ’»

About

An Open-Source Data Structure and Algorithm Library for Javascript πŸ‘©β€πŸ’»

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •