Remember
Register
1
new
Chill
new
Puzzles
new
GK
new
Sports
new
Business
Home
Questions
MCQs
Unanswered
Tags
Users
Ask a Question
Write Article
Articles
Connect to us
Post under tag tree
Recent posts under tag tree
All
Questions
MCQs
Jobs
Articles
0
votes
0
answers
Given preorder and inorder, how many binary trees are possible?
posted
May 27, 2018
by
anonymous
interview questions
data structures
tree
+1
vote
1
answer
What is the difference between a skew tree and a linked list?
posted
Apr 12, 2018
by
anonymous
data structures
interview questions
tree
linklist
+1
vote
0
answers
How many nodes does a full binary tree with N leaves contain?
posted
Mar 9, 2018
by
anonymous
tree
data structures
interview questions
0
votes
0
answers
How do I save a binary tree to an array of in-order traversal?
posted
Mar 9, 2018
by
anonymous
tree
data structures
0
votes
0
answers
What is the difference between binary search tree and binary decision tree?
posted
Nov 23, 2017
by
anonymous
interview questions
tree
data structures
0
votes
1
answer
What is the worse-case time complexity for a binary search tree for searching?
posted
Nov 4, 2017
by
anonymous
data structures
interview questions
tree
bst
0
votes
0
answers
how to print all the cousins of a node in binary search tree, except second cousins?
posted
Oct 21, 2017
by
anonymous
data structures
tree
c
algorithms
0
votes
0
answers
How many distinct binary tree can be formed with three distinct keys?
posted
Aug 7, 2017
by
anonymous
tree
data structures
interview questions
–2
votes
0
answers
Write a C Program to find the total columns/vertical lines of a given Binary Search Tree?
posted
May 26, 2017
by
Pooja Singh
c
data structures
tree
0
votes
0
answers
Write a C++ program to do zig zag traversal of a binary search tree?
posted
May 8, 2017
by
Rahul Prashad
data structures
c++
tree
+1
vote
0
answers
C: Check if a Binary Tree contains duplicate subtrees of size 2 or more?
posted
Mar 9, 2017
by
anonymous
tree
data structures
interview questions
c
+1
vote
0
answers
Given preorder traversal of a BST, how can we identify the leaf nodes without building the tree?
posted
Feb 16, 2017
by
anonymous
data structures
tree
interview questions
+4
votes
1
answer
DS: What a C program to swap the nodes of k th level ?
posted
Jan 18, 2017
by
Neelam
c
interview questions
tree
+3
votes
1
answer
DS: Write a program to find the sum of nodes present at the kth level of a binary tree ?
posted
Jan 12, 2017
by
Rupam
data structures
tree
c
c++
java
+2
votes
1
answer
Merge two binary search trees?
posted
Dec 19, 2016
by
anonymous
data structures
tree
interview questions
0
votes
0
answers
How to find longest consecutive path in a binary tree?
posted
Dec 12, 2016
by
anonymous
data structures
tree
interview questions
c
0
votes
0
answers
Given root of a Binary Tree along with two integer values. Find the LCA of two nodes with values of the given integers..
posted
Nov 3, 2016
by
anonymous
tree
data structures
interview questions
+1
vote
1
answer
Create a function to calculate the height of an n-ary tree.
posted
Nov 3, 2016
by
anonymous
data structures
tree
interview questions
0
votes
1
answer
How to traverse a binary search tree diagonally?
posted
Oct 19, 2016
by
anonymous
tree
c
data structures
+4
votes
1
answer
How to count the number of leaves in a binary tree without recursion?
posted
Jul 18, 2016
by
anonymous
tree
interview questions
data structures
c
+2
votes
1
answer
How to find the max weight in the binary tree?
posted
Jul 12, 2016
by
anonymous
tree
data structures
interview questions
+4
votes
1
answer
print root to leaf node with recursion
posted
Jul 3, 2016
by
Shahsikant Dwivedi
tree
interview questions
recursion
+2
votes
1
answer
How to print Spiral order travesal for a given Binary Tree?
posted
Jun 30, 2016
by
Shubham Sharma
tree
+6
votes
2
answers
What is a ternary search tree? Explain it with basic operations of a tree.
posted
Jun 28, 2016
by
Shivam Kumar Pandey
tree
data structures
+1
vote
0
answers
Randomize nodes of a Binary Tree without using any data structures?
posted
Jun 28, 2016
by
anonymous
data structures
tree
interview questions
+5
votes
1
answer
Is it possible to construct BST by using Inorder Traversal?
posted
Jun 22, 2016
by
Shahsikant Dwivedi
tree
interview questions
data structures
+3
votes
1
answer
How to create BST by using Inorder and Postorder traversal?
posted
Jun 17, 2016
by
Shahsikant Dwivedi
tree
interview questions
algorithms
+4
votes
0
answers
Help me to find least common ancestor in a BST.
posted
Jun 16, 2016
by
Shahsikant Dwivedi
tree
algorithms
0
votes
1
answer
How to print the top view of an binary Tree?
posted
Jun 15, 2016
by
Aditya Dwivedi
tree
interview questions
data structures
+1
vote
1
answer
How to find ancestor of a node?
posted
Jun 14, 2016
by
Shubham Sharma
tree
data structures
algorithms
0
votes
1
answer
Print mirror of a binary tree.
posted
Jun 12, 2016
by
Shubham Sharma
tree
data structures
+6
votes
2
answers
What is a Level Order Traversal in Binary Tree and What it's application?
posted
Jun 9, 2016
by
Shahsikant Dwivedi
tree
data structures
interview questions
algorithms
+2
votes
1
answer
How to convert a Binary Tree into Binary Search Tree using C/C++?
posted
Jun 8, 2016
by
anonymous
c++
c
interview questions
tree
+2
votes
0
answers
Given a binary tree, whose leaf nodes are connected, how to find the height of this tree?
posted
Jun 6, 2016
by
anonymous
tree
data structures
c
0
votes
1
answer
Check if two tree are mirror?
posted
May 30, 2016
by
anonymous
tree
0
votes
1
answer
If you are given two traversal sequences, can you construct the binary tree?
posted
May 30, 2016
by
anonymous
tree
interview questions
+1
vote
1
answer
How to program Inorder traversal of Binary tree without stack and recursion?
posted
May 30, 2016
by
anonymous
data structures
tree
interview questions
+2
votes
0
answers
Given a binary tree, find the largest subtree having atleast two other duplicate subtrees?
posted
May 26, 2016
by
anonymous
data structures
tree
interview questions
+1
vote
2
answers
How to find inorder successor in a binary search tree, sample C/C++ code would be helpful?
posted
May 16, 2016
by
anonymous
data structures
tree
interview questions
c
c++
+5
votes
1
answer
Write a function to find whether two binary tree are mirror image of each other or not?
posted
Apr 23, 2016
by
Ajay Kumar
data structures
c
tree
+2
votes
1
answer
What is the difference between Rank and Range in context of Binary Search Tree?
posted
Apr 22, 2016
by
anonymous
tree
data structures
+2
votes
2
answers
Can a complete binary tree be full binary tree, please explain with an example?
posted
Mar 28, 2016
by
anonymous
data structures
tree
+2
votes
1
answer
Find the smallest weight path between root and any leaf node?
posted
Mar 14, 2016
by
anonymous
tree
data structures
c
interview questions
+2
votes
1
answer
How to search an element in binary search tree?
posted
Mar 2, 2016
by
Deepa
data structures
tree
+1
vote
0
answers
How to balance the binary search tree in C/C++?
posted
Feb 22, 2016
by
anonymous
data structures
tree
c
c++
interview questions
+1
vote
1
answer
Get first node in a binary tree given a particular level?
posted
Feb 19, 2016
by
anonymous
data structures
tree
interview questions
c
0
votes
1
answer
Program to print all ancestors of a node in Binary tree?
posted
Feb 18, 2016
by
Rajan Paswan
algorithms
data structures
tree
+2
votes
1
answer
Given a binary tree (not BST), we are supposed to find nth smallest element?
posted
Feb 11, 2016
by
anonymous
data structures
tree
+2
votes
1
answer
How to find the smallest element in a Binary Tree (Not BST)?
posted
Feb 8, 2016
by
anonymous
data structures
tree
c
c++
+2
votes
3
answers
How to print leaf nodes of a binary tree?
posted
Jan 27, 2016
by
anonymous
data structures
tree
Page:
1
2
next »
...