# install dependencies
$ npm install
# serve with hot reload at localhost:3000
$ npm run build
# open dist/index.html on browser
The app is built with VanillaJS with the power of webpack and SCSS. For detailed explanation on how Webpack work, check out the documentation.
VanillaJS
Webpack
AVL Tree
BST Tree
Rotation
SCSS
.
|--- public
| |--- images
|
|--- src
| |--- js
| | |--- data_structure
| | |--- script
| | ...
| |
| |--- scss
|
...
- Binary Search Tree is a node-based binary tree data structure which has the following properties:
- The left subtree of a node contains only nodes with keys lesser than the node’s key.
- The right subtree of a node contains only nodes with keys greater than the node’s key.
- The left and right subtree each must also be a binary search tree.
- AVL tree is a self-balancing Binary Search Tree (BST) where the difference between heights of left and right subtrees cannot be more than one for all nodes.