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 / hash define

12 binary trees
3 binary search trees

Is This Answer Correct ?    10 Yes 44 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define heap order property?

551


What is data type and its types?

535


Define the term “percolate down”?

594


What is the difference between hashset and hashmap?

535


Tell me why can't constant values be used to define an array's initial size

531






What is the difference between for and foreach loop?

460


Why is it called bubble sort?

495


Define a set?

566


Compare Queue and Topic ?

663


Do you know what is linear search?

520


State the difference between arrays and linked lists?

543


Is hashset a collection?

474


How to excel in data structures and algorithms?

536


Is quicksort greedy algorithm?

510


Which time complexity is best?

490