Is list an array?


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

Post New Answer

More Data Structures Interview Questions

What happens when arraylist is full?

0 Answers  


Which is better bubble sort or selection sort?

0 Answers  


Is hashmap keyset ordered?

0 Answers  


Explain the uses of binary tree.

0 Answers  


What is data type and its types?

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  


What is subtree?

0 Answers  


What do you mean by union-by-weight?

0 Answers  


Define union-by-weight?

0 Answers  


What does enum do?

0 Answers  


Which is faster hashmap or concurrenthashmap?

0 Answers  


What are the tasks performed during preorder traversal?

0 Answers  


Categories