Pages

Showing posts with label Data Structure. Show all posts
Showing posts with label Data Structure. Show all posts

February 28, 2014

What is Red Black Tree?

A binary search tree(BST) is efficient, fast and better than a linked list in most of the cases but during worst case the complexity of BST can increase to O(n) (degenerate binary tree). So, here comes the Red-Black tree search scheme. It is better, because it is faster more efficient and it gives a time complexity guarantee.  So, what is red black tree? Let’s learn 
some Red-Black concepts.


What Is Red Black Tree

February 24, 2014

What is Binary Tree?

Trees are a very important part of the data structure. Either you want to be a good programmer or just want to have a basic understanding of Data Structures, you need to understand basic concepts of trees. There are various types of trees but binary tree is one of the most widely used and easy to implement data structure tree. It is most efficient for searching and information retrieval. In this post I will cover various properties, types and traversal of Binary tree.

Difference between a tree and a binary tree