FREE Course on Tree Algorithms

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

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

Watch now

ENGLISH

Advanced

Tree Flattening and Tree Hashing for rooted trees

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

Watch now

ENGLISH

Advanced

Re-Rooting the tree

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

Watch now

Crack Competitive Programming with
India's largest learning platform

Get subscription and access unlimited live and recorded courses from India's best educators

Get subscription

Daily live classes

Chat with your educator, engage in discussions, ask your doubts, and answer polls - all while the class is going on

Live tests & quizzes

Evaluate your preparation with our regular mock tests and quizzes and get detailed analysis on your performance

Structured courses

All our courses are structured in line with your exam syllabus to help you best prepare for it

Unlimited access

One subscription gets you access to all our live and recorded courses to watch from the comfort of any of your devices