npm.io
1.0.1 • Published 5 years ago

@shlappas/balanced

Licence
MIT
Version
1.0.1
Deps
0
Size
15 kB
Vulns
0
Weekly
0

balanced.js

A simple generic module that allows the manipulation of binary tree nodes via four rotation methods:

  • single left (AVL "LL" rotation)
  • single right (AVL "RR" rotation)
  • double left (AVL "LR" rotation)
  • double right (AVL "RL" rotation)

Installation

Just install it with your favourit package manager!

yarn

yarn add @shlappas/balanced
npm
npm install @shlappas/balanced

Keywords