Skip to content

majd1239/RBT-AVL-Class

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

Binary Search Trees Class - AVL and Red Black Trees

This is a binary search tree class that features AVL and Red & Black trees. They are children of a BST class that result in a lot of code reuse.

The class was created using boolean abstraction as the node children. The children is a size two array of node pointers where index 1 (True) is the right child and index 0 (False) is the left child.

This was used to avoid code repetition due to the symmetric nature of binary trees.

About

Super Small (5KB) AVL and Red Black Tree Class

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages