@shlappas/rotating-tree
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

rotating-tree.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 favourite package manager!

yarn

yarn add @shlappas/rotating-tree

npm

npm install @shlappas/rotating-tree

Package Sidebar

Install

npm i @shlappas/rotating-tree

Weekly Downloads

19

Version

1.0.0

License

MIT

Unpacked Size

14.8 kB

Total Files

8

Last publish

Collaborators

  • shlappas