What is a vector element?


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

Post New Answer

More Data Structures Interview Questions

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  


How to pass in data structure exam?

0 Answers  


What is the difference between the hash table and hash map?

0 Answers  


Devise a program to sort an array using bubble sort.

0 Answers   Wipro,


Which is the parent class of abstractqueue class?

0 Answers  






In what areas do data structures are applied?

0 Answers  


What is concept of data structure?

0 Answers  


What is data algorithm?

0 Answers  


Why do we use hashmap?

0 Answers  


What are the types of algorithms?

0 Answers  


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

0 Answers  


What are the main differences between the linked list and linear array?

0 Answers  


Categories