8.e) Invert a binary tree [Convert binary tree to its mirror tree]

preview_player
Показать описание
Problem Statement: Given a binary tree, convert it into its mirror tree i.e invert it.

Inverting a binary tree means changing its left subtree with its right subtree, for every node in binary tree data structure.

The algorithm is changing the subtrees for root node and then recursively change for its child.

Practice questions:

I hope you liked my video, do subscribe to my channel to get the updates of my latest uploads.

#binarytree #datastrucuture #algorithm #interviewquestions
Рекомендации по теме
Комментарии
Автор

Arre yaar itna easy tha faltu mein itna popular add bana diya 😂😂 no problem I never tried this problem great Kashish 👌👌

abhishekvishwakarma
Автор

Great bhaiya i personally like the content which is provided by you in our mother tongue.

sunneykumar
join shbcf.ru