Is binary tree balanced?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Data Structures Interview Questions

Define heap?

0 Answers  


I am given a sequential algorithm that does a routine search on an unordered list. N = 20. The probability that the value x does NOT appear in the list is exactly 60%, and the probability that x DOES appear is 40%. The 3 questions that I could not get were: A) What is the avg number of element comparisons performed when n = 20 and x does NOT appear in the List. (my answer was 20, is this correct?) B) What is the avg number of element comparisons peformed when n = 20 and x DOES appear in the list? C) What is the avg number of element comparisons performed when n = 20. This should be a single number answer they said.

3 Answers  


Define rehashing?

0 Answers  


How does bogo sort work?

0 Answers  


Write a data structure for a queue.

0 Answers   Tavant Technologies, Zensar,


Why do we use hashmap?

0 Answers  


List some applications of queue data structure.

0 Answers  


What are the parts of a linked list?

0 Answers  


If you are using c language to implement the heterogeneous linked list, what pointer type should be used?

0 Answers  


Can map contain duplicate keys?

0 Answers  


What is the minimum number of queues that can be used to implement a priority queue?

0 Answers  


Is complete binary tree?

0 Answers  


Categories