GuidePedia

0

BST Implementation in C/C++ - Data Structures & Algorithms 2016




In this lesson, we have implemented binary search tree in C/C++. We have written a simple program to create a binary search tree of integers and search an element in it. 
we have discussed binary tree in detail. We have talked about different types of binary tree like "complete binary tree", "perfect binary tree" and "balanced binary tree" and their properties. We have also discussed how cost of operations in a tree may depend upon height of the tree and why we want a tree to be dense and its height to be minimum. Finally, we talked about two possible implementations of binary tree - a)  using dynamically created nodes and b)  using arrays. 

Don't Forget to Subscribe Our Channel For more Software related videos.
https://www.youtube.com/channel/UCvtgPQq67sRfz3m2T_OrIWA

Our Facebook Page
https://www.facebook.com/Tuts-Online-1175068025891211/

Our Google+
https://plus.google.com/u/0/b/106482468968232599840/106482468968232599840/

Follows us on Our Twitter Account
https://twitter.com/mughal_zeeshi

Official Blog
https://tutsonline1.blogspot.com/

Post a Comment

 
Top