A collection of data structure exercises written in JS/TS for demonstration purposes.
This includes a mermaid markdown generator class to dynamically generate diagrams of the data
structures that can be viewed in any text editor that supports markdown (.md
) with the mermaid
syntax. (GitHub supports this by default.)
---
title: data-structrues
---
flowchart
A --> B
A --> C
C --> D
- Binary Trees
- Graphs (Coming Soon)
- NodeJS
- TypeScript
- jest
- ts-jest
- @types/jest
- A text editor that supports markdown with mermaid syntax. (I use PHPStorm)
This is a simple app for demo purposes. At this time, there is no front end, no bundlers, etc. As such, you will need to compile this and execute it with node in order to see it work.
Clone the repo
git clone https://TerryLeeAllenJr/data-structure-exercises
Install the required packages
npm install --save-dev
Build the application
npm run build
To run the application, simply run the compiled JS with node.
node /[PATH]/[TO]/[REPO]/dist/index.js