Videos

Inorder Successor in a binary search tree

Inorder Successor in a binary search tree

4 years ago
See complete series on data structures here: In this lesson, we have discussed efficient algorithm to find Inorder successor of a Node in binary search tree. See source code here: See video on Inorder Traversal here: For practice problems and more, visit: www.mycodeschool.com Like us on Facebook: www.facebook.com/MyCodeSchool Follow us on twitter: twitter.com/mycodeschool
Delete a node from Binary Search Tree

Delete a node from Binary Search Tree

4 years ago
See complete series on data structures here: In this lesson, we have discussed deletion of a node from binary search tree data structure. We have discussed the core logic and written implementation of it in C++. See source code here: For practice problems and more, visit: www.mycodeschool.com Like us on Facebook: www.facebook.com/MyCodeSchool Follow us on […]
Check if a binary tree is binary search tree or not

Check if a binary tree is binary search tree or not

4 years ago
See complete series on data structures here: In this lesson, we have written a program in C/C++ to verify whether a given binary tree is binary search tree or not. For practice problems and more, visit: www.mycodeschool.com Like us on Facebook: www.facebook.com/MyCodeSchool Follow us on twitter: twitter.com/mycodeschool
Find min and max element in a binary search tree

Find min and max element in a binary search tree

5 years ago
See complete series on data structures here: In this lesson, we have written a program to find minimum or maximum element in a “binary search tree” data structure. We have written two solutions – iterative and recursive. For practice problems and more, visit: www.mycodeschool.com Like us on Facebook: www.facebook.com/MyCodeSchool Follow us on twitter: twitter.com/mycodeschool
BST implementation –  memory allocation in stack and heap

BST implementation – memory allocation in stack and heap

5 years ago
See complete series on data structures here: In this lesson, we have described how things will move in stack and heap sections of application’s memory when binary search tree program discussed in previous lesson will execute. See source code here: Lesson on dynamic memory allocation: For practice problems and more, visit: www.mycodeschool.com Like us on […]
Binary search tree – Implementation in C/C++

Binary search tree – Implementation in C/C++

5 years ago
See complete series on data structures here: 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. See source code here: Lesson on dynamic memory allocation: For practice problems and more, visit: www.mycodeschool.com Like […]
Data structures: Binary Search Tree

Data structures: Binary Search Tree

5 years ago
See complete series on data structures here: In this lesson, we have discussed binary search tree data structure. Binary search is an efficient data structure in which we can store data to get search, insertion and deletion, all in O(log n) running time. We have drawn comparison of Binary search tree with arrays and linked […]