Skip to content

This repository is to maintain the datastructure's implementation in javascript and help readers to understand the datastructures in simple explanation and code snippet.

License

Notifications You must be signed in to change notification settings

mohanramphp/understanding-datastructures-in-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Understanding DataStructures in JavaScript

The purpose of this repository is to understand the datastructures and a work out implementation of the data structure in JavaScript.

Datastructures so far talked about

  1. Linear Data Structures
    1. Queue
    2. Stack
    3. Linked List
      1. Singly Linked List
      2. Doubly Linked List
  2. Non Linear/Tree Data Structures
    1. Binary Search Tree

Each datastructure folder have following files

  1. readme.md - Blog/Notes on the datastructure and its implementation.
  2. index.html - html file to import the javascript file index.js
  3. js/index.js - JavaScript implementation of the datastructure

Setup to run


Pre-requestie

  1. Node JS 8.11.2 or above

  2. NPM 5.3.0 or above

  3. http server a npm module

    Run the command npm install http-server --g

Go to the specific datastructure folder via command prompt and run http-server

Example


c:> cd c:\xxx\xxx\xxx\understanding-datastructures-in-javascript\queue
c:> http-server

Navigate to http://localhost:8080

You can find the results in the developer console

About

This repository is to maintain the datastructure's implementation in javascript and help readers to understand the datastructures in simple explanation and code snippet.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published