What is binary tree?

Answer Posted / chinnadurai.s

A tree with at most two children for each node.

or

A binary tree either

* is empty (no nodes), or
* has a root node, a left binary tree, and a right
binary tree.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to fill element (initialize at once) in an array?

549


Is arraylist synchronized?

542


What are the different types of linked list?

470


Is array a dynamic data structure?

515


Is vector synchronized?

521






Give a basic algorithm for searching a binary search tree?

505


Can a hashset contain duplicates?

490


What is time complexity of arrays sort?

524


Suppose in an integer array, there is 1 to 100 number, out of one is duplicate, how to find?

541


What is a comparator function?

524


Which is faster binary or linear search?

485


How do I use quick sort?

501


What is the height of a binary tree?

502


What are the advantages of binary search over linear search?

630


What is a hashmap in c?

493