What is binary tree example?



What is binary tree example?..

Answer / Pradeep Kumar Maurya

A simple example of a binary tree could be one with the following structure: nn 1 (root) n /
2 3 n / /
4 5 6 7

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

Given an array of integers, devise a program to replace every element with the next greatest element on the right side in the array. Also, replace the last element with 5 as there no element on the right side of it.

1 Answers   Wipro,


What is sorting in data structure?

1 Answers  


List some applications of queue data structure.

1 Answers  


How do you declare An array of three char pointers

1 Answers  


Can you please explain the difference between string and an array?

1 Answers  


In depth questions regarding the data structures and the Databases used in the Projects developed.

1 Answers   Motorola,


Explain the Complete structure of hashmap along with the basic coding of the hashmap internal implementation.

1 Answers   Expedia,


Why is data structure used?

1 Answers  


What happens if we put duplicate key in hashmap?

1 Answers  


Define a right-skewed binary tree?

1 Answers  


How many null values are allowed in a set?

1 Answers  


an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like. [ I ended up giving about 4 or 5 different solutions for this, each supposedly better than the others ].

1 Answers  


Categories