Videos

Find height of a binary tree

Find height of a binary tree

4 years ago
See complete series on data structures here: In this lesson, we have written code to find height of a binary tree using a simple recursion. For practice problems and more, visit: www.mycodeschool.com Like us on Facebook: www.facebook.com/MyCodeSchool Follow us on twitter: twitter.com/mycodeschool
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
Binary tree traversal: Preorder, Inorder, Postorder

Binary tree traversal: Preorder, Inorder, Postorder

4 years ago
See complete series on data structures here: In this lesson, we have described Preorder, Inorder and Postorder algorithms for binary tree traversal and analyzed their time and space complexities. See source code here: For more on time complexity analysis: www.geeksforgeeks.org/618/ For practice problems and more, visit: www.mycodeschool.com Like us on Facebook: www.facebook.com/MyCodeSchool Follow us on […]
Binary tree: Level Order Traversal

Binary tree: Level Order Traversal

4 years ago
See complete series on data structures here: In this lesson, we have discussed level order traversal algorithm for binary tree. See source code 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
Binary tree traversal – breadth-first and depth-first strategies

Binary tree traversal – breadth-first and depth-first strategies

4 years ago
See complete series on data structures here: In this lesson, we have discussed algorithms for binary tree traversal. We have talked about breadth-first and depth-first strategies for tree traversal like level-order, preorder, inorder and postorder. For practice problems and more, visit: www.mycodeschool.com Like us on Facebook: www.facebook.com/MyCodeSchool Follow us on twitter: twitter.com/mycodeschool