How do I implement a red-black tree in java. I am new to Java and have no clue how to proceed.
I need to be able to print out the tree as well.
Can someone help?!!
Jump to Post
Well, if you know what a red-black tree is, you define a class for the nodes, a collection for those node, and the various methods to add, remove, search and print those node.
We can't simply do your homework for you. Post code and questions and someone can probably …
All 6 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.