## Print All Leaf Nodes of a Binary Tree from left to right | Set-2 ( Iterative Approach )

Given a Binary Tree, the task is to print the leaf nodes from left to right.The nodes must be printed in the order they appear… Read More »

- Print nodes in top view of Binary Tree | Set 2
- MakeMyTrip Interview Experience 2019
- Print nodes in the Top View of Binary Tree | Set 3
- Print the nodes of binary tree as they become the leaf node
- Shannon-Fano Algorithm for Data Compression
- Zig Zag Level order traversal of a tree using single queue
- HashSet vs TreeSet in Java
- DFS traversal of a tree using recursion
- Flatten a binary tree into linked list | Set-2
- Preorder from Inorder and Postorder traversals
- Find the node with maximum value in a Binary Search Tree
- Print path between any two nodes in a Binary Tree
- Insert a node in Binary Search Tree Iteratively
- Shortest root to leaf path sum equal to a given number
- 2-3 Trees | (Search and Insert)
- Print all even nodes of Binary Search Tree
- Level Ancestor Problem
- Flatten a binary tree into linked list | Set-3
- Print all nodes between two given levels in Binary Tree
- Search a node in Binary Tree
- Sandvine Interview Experience for FTE 2018
- Amadeus Labs R & D | On Campus (freshers) | Full time+Internship
- Count pairs in a binary tree whose sum is equal to a given value x
- Iterative Method To Print Left View of a Binary Tree
- Sum of nodes at maximum depth of a Binary Tree | Set 2
- Difference between graph and tree
- Check whether a given binary tree is skewed binary tree or not?
- Find the maximum node at a given level in a binary tree
- Iterative Preorder Traversal of an N-ary Tree
- Counting inversions in an array using segment tree

Given a Binary Tree, the task is to print the leaf nodes from left to right.The nodes must be printed in the order they appear… Read More »

Given three integers N, D and K. The task is to check whether it is possible to make a tree with exactly N vertices, D… Read More »

Given a Binary Tree, the task is to print the zigzag order of the tree. Examples: Input : 7 / \ 6 5 / /… Read More »

Given a binary tree and an integer K, the task is to remove all the nodes which are multiples of K from the given binary… Read More »

Given a Binary Tree with distinct values, the task is to print the first smallest root to leaf path. We basically need to print the… Read More »

Given an N-ary tree T of N nodes, the task is to calculate the longest path between any two nodes(also known as the diameter of… Read More »

Given a Binary tree, the task is to print all the internal nodes in a tree. An internal node is a node which carries at… Read More »

Given a Binary Tree, the task is to print the Reverse zigzag Order of the tree. Examples: Input: 1 / \ 2 3 / \… Read More »

Given the value of ‘N’ and ‘I’. Here, represents the number of internal nodes present in an N-ary tree and every node of the N-ary… Read More »

Given a Binary tree, print all the leaf nodes of a Binary tree at a given level L. Examples: Input: 1 / \ 2 3… Read More »

Given an integer N, the task is to construct a tree such that sum of for all ordered pairs (u, v) is maximum where u… Read More »

Given a binary tree with N nodes, in which each node value represents number of candies present at that node, and there are N candies… Read More »

Given a Binary Tree, print it’s left view. Left view of a Binary Tree is a set of nodes visible when tree is seen from… Read More »

Given a binary tree, the task is to print the sum of all the boundary nodes of the tree. Examples: Input: 1 / \ 2… Read More »

Given a root node to a tree, find the sum of all the leaf nodes which are at maximum depth from root node. Example: 1… Read More »