How to Convert Binary Tree to Mirror Tree (Inverted)

Algorithm Tutorials

Do you want to know how to convert Binary Tree To Mirror Tree? In this article, you will learn to convert a Binary Tree to Its Mirror or Inverted view. What is Mirror Tree? When you are having a given binary tree, then the mirror of that tree would be that all the left children … Read more

How to Find Diameter Of Binary Tree?

Coding Interview Questions

Find Diameter of Binary Tree is the most frequently asked software interview question nowadays. It tests your skill and understanding of the Binary Tree and its height calculation. What is Diameter of the Binary Tree? The number of nodes on the longest path between two end nodes is the diameter (also known as width) of … Read more

N-ary Tree Level Order Traversal Solution Python C++

Coding Interview Questions

N-Ary Tree level Order Traversal is a frequently asked question during a Coding Interview. It assesses your knowledge of Bread First Search by requiring you to solve the question using the iteration method. Otherwise, if the interviewer asked you to solve it using DFS, you must use recursion. In this post, I’ll go over the … Read more