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
- Linear Data Structures
- Queue
- Stack
- Linked List
- Singly Linked List
- Doubly Linked List
- Non Linear/Tree Data Structures
Each datastructure folder have following files
readme.md
- Blog/Notes on the datastructure and its implementation.index.html
- html file to import the javascript fileindex.js
js/index.js
- JavaScript implementation of the datastructure
-
Node JS 8.11.2 or above
-
NPM 5.3.0 or above
-
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
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