Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 2.37 KB

File metadata and controls

43 lines (30 loc) · 2.37 KB

Learning JavaScript Data Structures and Algorithms

Build Status codecov

Source code of Learning JavaScript Data Structures and Algorithms book, third edition.

Work in Progress.

List of available chapters:

Third Edition Updates

  • Algorithms using ES2015+ (ES6+)
  • New data structures and algorithms
  • All chapters rewritten and reviewed
  • Three (3) new chapters
  • Creation of a Data Structures and Algorithms library that can be used in the browser or with Node.js
  • Algorithms tested with Mocha + Chai (test code available in test directory)
  • TypeScript version of the source code included (library and tests)

Installing and running the book examples With Node

  • Install Node
  • Open terminal/cmd and change directoty to this project folder: cd /Users/.../javascript-datastructures-algorithms (Linux/Max) or cd C:/.../javascript-datastructures-algorithms
  • run npm install to install all depencies
  • To see the examples, run http-server html or npm run serve. Open your browser http:\\localhost:8080 to see the book examples
  • Or cd html/chapter01 and run each javascript file with node: node 02-Variables

Running the examples in the browser

  • Right click on the html file you would like to see the examples, right click and 'Open with Chrome (or any other browser)'

Happy Coding!