Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Trees, Binary Trees, and Binary Search Trees - Questions and Explanations

Back To Back SWE via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn fundamental tree data structures and algorithms through a comprehensive tutorial covering binary trees, binary search trees, and advanced tree operations. Master essential concepts including tree serialization and deserialization using recursive solutions, finding lowest common ancestors between nodes, and performing bidirectional searches to locate nodes at specific distances. Explore level order traversal techniques by understanding the relationship between trees and graphs, and gain proficiency in the three main traversal methods: preorder, inorder, and postorder. Implement a binary heap as an efficient priority queue abstract data type, and develop skills to test tree properties such as height balance and symmetry. Discover how to count unique binary search trees using dynamic programming and the nth Catalan number formula. Build a solid foundation in tree algorithms essential for technical interviews and software engineering roles through hands-on problem-solving approaches.

Syllabus

Serialize & Deserialize A Binary Tree - Crafting Recursive Solutions To Interview Problems
Lowest Common Ancestor Between 2 Binary Tree Nodes (A Recursive Approach)
All Nodes Distance K In A Binary Tree - Performing Bidirectional Search On A Tree Using A Hashtable
Binary Tree Level Order Traversal - Drawing The Parallel Between Trees & Graphs
Binary Tree Bootcamp: Full, Complete, & Perfect Trees. Preorder, Inorder, & Postorder Traversal.
Implement A Binary Heap - An Efficient Implementation of The Priority Queue ADT (Abstract Data Type)
Test If A Binary Tree Is Height Balanced ("Balanced Binary Tree" on LeetCode)
Count Total Unique Binary Search Trees - The nth Catalan Number (Dynamic Programming)
Test If A Binary Tree Is Symmetric ("Symmetric Tree" on Leetcode)

Taught by

Back To Back SWE

Reviews

Start your review of Trees, Binary Trees, and Binary Search Trees - Questions and Explanations

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.