How many different binary trees and binary search trees can
be made from three nodes that contain the key values 1, 2 & 3?

Answer Posted / kalai

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to increase stack limit in w3wp.exe?

585


What are the categories of avl rotations?

547


Define circular list?

573


Explain Linked List

567


What is a node in it?

549






What are the main differences between the linked list and linear array?

534


In an avl tree, at explain what condition the balancing is to be done?

520


What is the time complexity of hashmap get () and put () method?

464


Define path in a graph?

521


Why is arraylist used?

486


Does hashmap maintain insertion order?

501


How would you sort words in a large file?

558


What is meant by strongly connected in a graph?

515


Is sorting a math skill?

494


Is quicksort a stable algorithm?

518