An open API service indexing awesome lists of open source software.

https://github.com/anniedotexe/redblack-vs-bst


https://github.com/anniedotexe/redblack-vs-bst

Last synced: 15 days ago
JSON representation

Awesome Lists containing this project

README

          

# Red Black Tree vs Binary Search Tree
The program will automatically generate 100 random numbers and add them to the red-black tree and binary search tree.

The user can choose to:

  • Insert a value

  • Delete a value

  • Return the number of leaves in each tree

  • Return all values in the trees in the range entered by the user

  • Delete the first 20 entries in the trees and return the heights and number of leaves in each tree