GithubHelp home page GithubHelp logo

aveek-saha / js-data-structs Goto Github PK

View Code? Open in Web Editor NEW
6.0 2.0 1.0 259 KB

A small data structures library for JavaScript

Home Page: https://data-structs.netlify.com/

License: MIT License

JavaScript 99.89% Shell 0.11%
javascript data-structures algorithms graphs trie-structure stack queue binary-search-tree algorithm tree

js-data-structs's Introduction

js-data-structs's People

Contributors

andresruizdc avatar aveek-saha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mustaphee

js-data-structs's Issues

Cover more algorithms and data structures

Looking for contributors to add new algorithms and data structures to this library. Algorithms that have real use cases are preferred. For example, no point in adding insertion sort when the default search function is going to be faster.

If you want to contribute, please raise a new issue and if you want to work on it as well, wait for me to assign it to you. Once assigned, create a new Pull Request with your changes.

Please read the contributing guidelines before you start

Add Suffix trees

Suffix trees -

What will change -
The suffix tree data structure will be added

Describe the solution you'd like
The suffix tree should be able to find all occurrences of a pattern in a string

Add doubly linked list

Doubly linked list -

What will change -
Add doubly linked lists

Describe the solution you'd like
You should be able to

  • insert node at head
  • insert node at tail
  • insert at given index
  • get node at given index
  • delete from given index
  • delete node at head
  • delete node at tail
  • display list as string

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.