Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/tree/avl-tree/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# AVL tree (平衡二叉树)

平衡二叉树

## 本质,来源

## 特性

## 适用场景
13 changes: 13 additions & 0 deletions src/tree/avl-tree/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { BinarySearchTree } from '../binary-search-tree'
import { BinarySearchNode } from '../binary-search-tree/BinarySearchNode'

export class AVLTree extends BinarySearchTree {
public insert(): void {}
// public remove(value: any) {}
public balance() {}
/** */
public rotateLeftLeft() {}
public rotateLeftRight() {}
public rotateRightLeft() {}
public rotateRightRight() {}
}