Skip to content

C and PhP code for red-black tree implementation of balanced binary trees

License

Notifications You must be signed in to change notification settings

emin63/red_black_tree

Repository files navigation

Red-Black Tree

The C files in this package implement balanced binary trees using the red-black paradigm. I have written these functions in a very general manner so that the key can be anything at all. Each node of the balanced binary tree must contain a key and a pointer to info. The user defines what data-type the key is and provides a comparison function for the keys. The info can also be any kind of data type. You might also want to take a look at the cpp_trees repo which contains C++ version of red black trees and interval trees.

Thanks

Thank you to Gokce Toykuyu kindly for translating these into php with the accompanying *.php versions.

About

C and PhP code for red-black tree implementation of balanced binary trees

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published