Skip to Content
C# Data Structures and Algorithms
book

C# Data Structures and Algorithms

by Marcin Jamro
April 2018
Intermediate to advanced content levelIntermediate to advanced
292 pages
6h 44m
English
Packt Publishing
Content preview from C# Data Structures and Algorithms

Implementation

If you want to use an RBT in your application, you can either implement it from scratch or use one of the available libraries, such as TreeLib, which you can easily install using the NuGet Package Manager. This library supports a few kinds of trees, among which the RBTs exist.

You can find more information about the library at http://programmatom.github.io/TreeLib/ and https://www.nuget.org/packages/TreeLib.

As the library provides developers with many classes, it is a good idea to take a look at those related to RBTs. The first class is named RedBlackTreeList and represents an RBT. It is a generic class, so you can easily specify a type of data stored in each node.

The class contains a set of methods, including Add for inserting ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning Data Structures and Algorithms in C#

Beginning Data Structures and Algorithms in C#

Marcin Jamro

Publisher Resources

ISBN: 9781788833738Supplemental Content