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 / baljinder

1oth answer is xactly correst ie,BST=5 & BT=30

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does stack top do?

456


An array having 100 elements have numbers from 1 to 99 randomly out of which any number is repeated. Find the repeated number in minimum time and space complexity.

674


What is difference between set and map?

479


What is the logic to reverse the array?

462


What is the minimization factor and time complexity of b-tree?

673






Explain the most efficient method to reverse a linked list?

474


Explain what is binary search?

520


Are the expressions arr and &arr same for an array of integers?

552


How to pass in data structure exam?

491


What is 1d array?

450


What is placement new in data structures?

509


Why do we use collections?

451


Can we define the size of arraylist?

451


How would you check if a binary tree is BST or not ? Write a program.

490


How do you create a tree diagram?

458