Category: data structure

Delete Binary Tree 0

Delete Binary Tree

“Delete Binary Tree” is an elementary problem based on tree data structure. Here, we are given a binary tree and our task is to delete given binary tree. We need to delete all the...

Top View of Binary Tree 0

Top View of Binary Tree

“Top View of Binary Tree” is one of the foremost algorithmic problem asked in technical interviews of product-based companies. Here, we are given a binary tree and our task is to write a program to...

Bottom View of Binary Tree 0

Bottom View of Binary Tree

“Bottom View of Binary Tree” is one of the foremost algorithmic problem asked in technical interviews of product-based companies. Here, we are given a binary tree and our task is to write a program...

Inorder Tree Traversal Using Stack 0

Inorder Tree Traversal Using Stack

“Inorder Tree Traversal Using Stack” is a binary tree traversal algorithm where we traverse the given tree in inorder fashion using stack data structure.  We have already discussed the recursive approach of the inorder...

Right View of Binary Tree 0

Right View of Binary Tree

“Right View of Binary Tree” is a very popular interview problem based on Tree data structure, asked in many technical interviews. Here, we are given a binary tree and our task is to write...