Advanced Data Structures & Algorithms in Java: Solving Binary Tree Problems
Java
| Intermediate
- 18 videos | 1h 24m 57s
- Includes Assessment
- Earns a Badge
Binary trees are commonly used data structures in programming interviews. It's essential you know how to solve binary tree problems such as counting the number of nodes in a tree, finding the maximum depth of a tree, and mirroring a binary tree using robust, recursive solutions. In this course, you'll solve some common interview-style problems using binary trees, such as how to use a recursive algorithm to count the number of nodes in a binary tree, calculate the maximum depth of a tree, sum up the values of nodes along a path, and mirror a binary tree. Finally, you'll explore different kinds of binary trees, namely the full binary tree, the complete binary tree, the perfect binary tree, and the balanced binary tree.
WHAT YOU WILL LEARN
-
Discover the key concepts covered in this courseRecognize how the recursive algorithm to count nodes worksWrite code to implement the count nodes algorithmRecognize how the maximum depth of a binary tree is calculatedCalculate the maximum depth of a binary treeExplain how the sum of nodes along a path can be computedCompute and check to see whether a path with a certain sum existsDescribe the original binary tree and its mirrorImplement the mirroring of a binary tree
-
Recognize a full binary treeWrite code to check whether a binary tree is fullRecognize a perfect binary treeWrite code to check whether a binary tree is perfectRecognize a complete binary treeWrite code to check whether a binary tree is completeRecognize a balanced binary treeWrite code to check whether a binary tree is balancedSummarize the key concepts covered in this course
IN THIS COURSE
-
1m 57s
-
5m 33sAfter completing this video, you will be able to recognize how the recursive algorithm for counting nodes works. FREE ACCESS
-
3m 32sDuring this video, you will learn how to write code to implement the count nodes algorithm. FREE ACCESS
-
2m 56sUpon completion of this video, you will be able to recognize how to calculate the maximum depth of a binary tree. FREE ACCESS
-
5m 31sIn this video, you will calculate the maximum depth of a binary tree. FREE ACCESS
-
8m 21sAfter completing this video, you will be able to explain how the sum of nodes along a path can be computed. FREE ACCESS
-
5m 8sIn this video, you will compute and check to see if a path with a certain sum exists. FREE ACCESS
-
1m 59sUpon completion of this video, you will be able to describe the original binary tree and its reflection. FREE ACCESS
-
4m 57sDuring this video, you will learn how to implement the mirroring of a binary tree. FREE ACCESS
-
4m 31sUpon completion of this video, you will be able to recognize a binary tree that is full. FREE ACCESS
-
6mLearn how to write code to check if a binary tree is full. FREE ACCESS
-
2m 41sAfter completing this video, you will be able to recognize a perfect binary tree. FREE ACCESS
-
6m 46sFind out how to write code to check if a binary tree is perfect. FREE ACCESS
-
6m 42sAfter completing this video, you will be able to recognize a binary tree that is complete. FREE ACCESS
-
5m 41sIn this video, learn how to write code to check if a binary tree is complete. FREE ACCESS
-
6mUpon completion of this video, you will be able to recognize a balanced binary tree. FREE ACCESS
-
5m 1sIn this video, you will learn how to write code to check if a binary tree is balanced. FREE ACCESS
-
1m 42s
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.