UNPKG

@clarketm/superavltree

Version:
28 lines (16 loc) • 614 B
# [AVLTree](https://www.npmjs.com/package/@clarketm/superavltree) [![NPM release](https://img.shields.io/npm/v/@clarketm/superavltree.svg)](https://www.npmjs.com/package/@clarketm/superavltree) AVLTree with superpowers! 💪 > This data structure inherit **all** methods and properties from the [`BinaryTree`](https://github.com/clarketm/super/tree/master/packages/BinaryTree#readme). ## Individual Module Installation ### Yarn ```bash $ yarn add @clarketm/superavltree ``` ### Npm ```bash $ npm install @clarketm/superavltree --save ``` ## API ### `balanced: boolean` Determine if the tree is balanced