Giter Site home page Giter Site logo

nas5w / javascript-patterns Goto Github PK

View Code? Open in Web Editor NEW
293.0 21.0 69.0 419 KB

A collection of javascript algorithms, patterns, and techniques

License: MIT License

JavaScript 100.00%
javascript algorithms design-patterns hacktoberfest2019 hacktoberfest

javascript-patterns's Introduction

JavaScript Algorithms, Design Patterns, and Techniques brain

ย 

Build Status Codecov Status


This repository contains common algorithms, design patters, and techniques implemented in JavaScript. Code here is best used for learning purposes and practice. Contributing to this repo is appreciated and requested, especially if you're trying to learn JavaScript!

Note: Code from this repository should not be used in production! There are likely much more robust and well-tested built-in methods or npm packages to accomplish any task

This repository maintained by Nick Scialli and powered by awesome contributors like you!

Contents

Algorithms

Patterns

Techniques

Data Structures

Contributing

Please make sure to claim an algorithm on the issues list (either by claiming an existing one or creating a new issue if the algo isn't listed). This helps make sure multiple people aren't doing the same work!

Contributing to this repository is appreciated and requested! Please look at the list above and select a section that has TODO next to it, or one that needs testing. In the former case, please add both the content of that section as well as matching tests in the tests directory. Please Check the open issues before working on anything to make sure someone else isn't working on it already. If it looks available, open a new issue detailing what you plan to work on and I will verify no one else is working on it. Thank you!

javascript-patterns's People

Contributors

axecopfire avatar capndave avatar dependabot[bot] avatar dgiulian avatar dylanoshima avatar edreeseg avatar gautam678 avatar grimos10 avatar helloitsjoe avatar jpsanantonio avatar kendellwelch avatar klauskpm avatar knevari avatar kolharsam avatar mike-k0 avatar mohammadarsalan avatar mohammed-almassri avatar nas5w avatar omkaragrawal avatar paperlambda avatar phanlyhuynh avatar raulgonzalezcz avatar rehman-00001 avatar sbodi10 avatar shantanushinde avatar soub4i avatar srieeee avatar tarun7631 avatar theashraf avatar wilk avatar

Stargazers

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

Watchers

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

javascript-patterns's Issues

Add Shell Sort

There is shell sort missing. I would gladly like to take up the task to add shell sort.

Add Heap Sort

Would appreciate if someone can add Heap Sort and associated tests for it

Add links to code in README

There should be links in the main README for each algorithm, design pattern, and technique that take you to the code. This would be much better than the users having to find the code themselves.

Sent with GitHawk

Patterns need comments/README.md

I wanted to learn about various javascript patterns and this repository seemed to be the perfect place to start because of having so many patterns at a single place. However, due to the lack of comments and explanation, beginners like me would not be able to understand very well what a pattern is trying to achieve exactly.

It would be great if each pattern has a README to explain exactly what problem it is trying to solve and how it is doing so.

Add Binary Search

I'm creating this issue, however I already created a pull request for the search algorithm.

Add Bucket Sort

Would appreciate if someone can add Bucket Sort and associated tests for it

Fix fibonacci search

There is a failing fibonacci search test. After inspection, the test is written correctly, so I suspect there is an error in the fibonacci search implementation. Can someone look into this?

Pattern links broken in README

Patterns were moved into subfolders in the src folder but links never got changed in the README, so the README links are broken! Can someone fix this?

Add Counting Sort

Would appreciate if someone can add Counting Sort and associated tests for it

Tests for observer.js

I can write tests for the observer.js module, let me know whether to continue or not. Any feedback about anything appreciated as this will be my first contribution to open-source anything!

Thanks

Add more patterns to README

The list of algorithms and patterns is incomplete on the README file. Would appreciate if someone wanted to research a bunch of them and list them as (TODO) like the other ones that are pending creation.

Why not helping a more popular project with the same purpose?

Hi, found your repo on reddit and the first thought was "why creating another project that implements algorithms in JavaScript?", there is a quite popular repo already that does the same: https://github.com/trekhleb/javascript-algorithms

I am not here to criticize, but in my opinion you are wasting a lot of effort and time instead of doing something really useful for the JavaScript community. My advice is to try to contribute to the repo that I mentioned above, maybe improve their code and examples with something that you know works better.

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.