GithubHelp home page GithubHelp logo

davidshariff / computer-science Goto Github PK

View Code? Open in Web Editor NEW
853.0 36.0 183.0 18 KB

Contains the basic fundamental data structures and algorithms a front end engineer should know, written all in JavaScript.

JavaScript 100.00%
computer-science javascript front-end frontend

computer-science's Introduction

Computer Science in JavaScript

Contains the basic fundamental data structures and algorithms a front end engineer should know, written all in JavaScript.

Front end engineers need to know a mixture of technologies and methodologies from JavaScript, CSS, HTML to design patterns, MVC/MVVM, browser performance and responsive design to name but a few concepts.

However, Computer Science, and in particular data structures and algorithms are often ignored. While you may not use these on a day to day basis, user interfaces are becoming more complex and feature rich.

Every front end engineer should be able to grasp the fundamentals of the following:

Data Structures

  • Binary Trees
  • Doubly Linked Lists
  • HashTables
  • MaxHeaps
  • Queues
  • Singly Linked Lists
  • Stacks
  • Tries

Sorting Algorithms

  • Binary Search
  • Merge Sort
  • Quick Sort

computer-science's People

Contributors

joom avatar monad98 avatar tmquinn 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

computer-science's Issues

Test Cases

Need to add test case framework. Currently considering to use Mocha + Chai.

Trie.js

What about do isMember before remove method in case of the word is not in the dictionary?

referencing cur instead of curr

Hey!

On line 44 and 45 of DoublyLinkedList.js, there are a couple of times where you reference 'cur' instead of 'curr' - this is causing a 'cur is not defined' error when executing.

Thanks :)

a bug for binaryTree remove method

var tree = new BinaryTree();
tree.insert(20);
tree.insert(10);
tree.insert(15);
tree.insert(16);
tree.insert(5);
tree.insert(8);
tree.insert(7);
tree.insert(25);
tree.remove(10);
if you remove the node 10,node 7 will be removed unexpectedly

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.