Git Product home page Git Product logo

algojo's Introduction

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 ๐Ÿ‘จโ€๐Ÿ’ป

algojo's People

Contributors

ukhang avatar neeraj542 avatar sinjini46 avatar

Stargazers

 avatar Alexandre Tison avatar

Watchers

 avatar

algojo's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.