Code Monkey home page Code Monkey logo

programjs's Introduction

program.js

NPM

Travis gary

A comprehensive and lightweight npm package of common data structures and algorithms to accelerate development.

About

Why is this module named program.js? An inspiration for this project was computer science pioneer Niklaus Wirth: author of the classic textbook Algorithms + Data Structures = Programs. We believe that the philosophy of algorithms and data structures being at the core of software is important, so this module is made in the textbook's honor.

Textbook

Current Implementations

Algorithms

  • Bubble Sort
  • Insertion Sort
  • Selection Sort
  • Quick Sort
  • Merge Sort
  • Factorial
  • Fibonacci
  • Combinations
  • Permutations

Data Structures

  • Node
  • DoubleNode
  • SinglyLinkedList
  • DoublyLinkedList
  • Stack
  • Queue
  • Heap
  • TreeNode
  • Binary Search Tree
  • HashTable

Usage

  1. Install the package using npm install --save programjs or yarn add programjs
  2. Import the feature set you would like to use (e.g. import { algorithms } from 'programjs')
  3. Access specific implementation through the feature set object (e.g. const sorted_array = algorithms.bubble_sort(array))

Contributing

If you're interested in contributing to program.js, refer to our guide.

License

We believe in open source projects. Our code is licensed under the MIT License..

programjs's People

Contributors

choiboy98 avatar hamsterz0 avatar kirubarajan avatar n3a9 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

programjs'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.