What is the difference between hashset and hashmap?
No Answer is Posted For this Question
Be the First to Post Answer
What is a bubble sort and how do you perform it?
Define depth and height of a node?
If you are using c language to implement the heterogeneous linked list, explain what pointer type will you use?
Why enum can not be used directly with printf function?
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.
Is hashset thread safe?
Explain the uses of binary tree.
What is a stable sorting algorithm?
What are the Differences between map and hashmap?
What is the difference between collections class vs collections interface?
Explain the uses of matrix with an example?
What is binary tree used for?