:: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Categories >> Software >> Operating Systems >> Data Structures


 Windows interview questions  Windows Interview Questions (340)
 Linux interview questions  Linux Interview Questions (453)
 Unix interview questions  Unix Interview Questions (458)
 Solaris interview questions  Solaris Interview Questions (781)
 RTOS interview questions  RTOS Interview Questions (43)
 Bulnex interview questions  Bulnex Interview Questions (4)
 Operating Systems General Concepts interview questions  Operating Systems General Concepts Interview Questions (261)
 Data Structures interview questions  Data Structures Interview Questions (67)
 Operating Systems AllOther interview questions  Operating Systems AllOther Interview Questions (48)
How many different binary trees and binary search trees can
be made from three nodes that contain the key values 1, 2 & 3?
 Question Submitted By :: Data-Structures
I also faced this Question!!     Answer Posted By  
# 21
If the element is a root node ,in a 1st search it will find
the element. If the element is either a lchild or rchild it
make 2 searches.
Is This Answer Correct ?    2 Yes 7 No
# 22
Not a direct answer. But you can find in depth concepts
about binary and binary search tree in this page.
Is This Answer Correct ?    1 Yes 6 No
# 23
30 binary trees
14 binary search trees
Is This Answer Correct ?    1 Yes 10 No
Bittu Sarkar
# 24
for no. of different binary tree---
for n nodes the formula is 2^n-n in this formula value of
nodes are not considered, only the way nodes can be present
in a tree so for 3 nodes there can be 5 ways, for each way
no. of possibilty of values is 3! so answer comes out to be

1 1 1 1 1
2 3 2 2 2 2

3 3 3 3

for binary search tree answer is 3
Is This Answer Correct ?    19 Yes 42 No
# 25
12 binary trees
3 binary search trees
Is This Answer Correct ?    10 Yes 44 No
Hash Define
# 26
for binary tree answer is n! ways that is 3!=6

For Binary search tree n ways..that is 3
Is This Answer Correct ?    17 Yes 52 No
# 27
18 Binary trees and 3 Binary serach trees. 
Is This Answer Correct ?    35 Yes 99 No
# 28
one binary search tree and 9 binary trees. 
Is This Answer Correct ?    43 Yes 157 No

Other Data Structures Interview Questions
  Question Asked @ Answers
What is B+ tree? BMC 6
What is binary tree? BMC 13
Convert the following infix expression to post fix notation ((a+2)*(b+4)) -1   9
ple.. briefly describe the purpose of having a base case and a recursive case in a recursive algorithm   2
What is the average number of comparisons in a sequential search?   4
input function and output function in c language Tcs 2
Stack can be described as a pointer. Explain. Wipro 5
what is the need of data structure   11
wt is a datastructure CybAge 8
what is AVL tree? ADS 5
how a polynomial such as 6x^6+4x^3-2x+10 can be represnted by linked list?write an algorithm that reads such an polynomial   1
what is binary tree? BMC 12
For more Data Structures Interview Questions Click Here 

Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
Copyright 2013  All Rights Reserved.   ::