ENGLISH
Advanced
LCA and Diameter of Tree
In this class, we will learn the concept of binary lifting and use it to find LCA, Kth parent etc. We will also learn about the diameter of a tree and ways to find it.
Jan 9, 2021 • 1h 30m
Himanshu Singh
Trees cover a big portion of graphs and are quite often seen in programming problems. Learn some commonly used tree algorithms and concepts such as diameter, LCA, tree flattening, etc. in this mini-course with Himanshu.
ENGLISH
Advanced
In this class, we will learn the concept of binary lifting and use it to find LCA, Kth parent etc. We will also learn about the diameter of a tree and ways to find it.
Jan 9, 2021 • 1h 30m
Himanshu Singh
ENGLISH
Advanced
In this class, we will learn about the tree flattening technique generally used to solve problems on subtrees. We will also discuss hashing of rooted trees to find if 2 trees have same structure.
Jan 10, 2021 • 1h 30m
Himanshu Singh
ENGLISH
Advanced
In this class we will learn the concept of rerooting of trees and discuss its applications through problems. We will also have a QnA session for taking up questions from throughout the course.
Jan 11, 2021 • 1h 30m
Himanshu Singh
Get subscription and access unlimited live and recorded courses from India's best educators
Chat with your educator, engage in discussions, ask your doubts, and answer polls - all while the class is going on
Evaluate your preparation with our regular mock tests and quizzes and get detailed analysis on your performance
All our courses are structured in line with your exam syllabus to help you best prepare for it