Can we insert null in hashset?
No Answer is Posted For this Question
Be the First to Post Answer
Which sorting does collections sort use?
Tell me the difference between the character array and a string.
0 Answers Honeywell, HPCL, Huawei, Zomato,
What is the purpose of sorting?
Are linked lists considered linear or non-linear data structure?
What is binary tree and its properties?
In tree construction which is the suitable efficient data structure? (a) Array (b) Linked list (c) Stack (d) Queue (e) none
Which sorting algorithm is best for small data?
what is Singly Linked list?
What is the non linear data structure?
Why concurrenthashmap is fail safe?
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.
There are 2 int type array data type. One is containing 50 elements, and another one is containing 30 elements. Can we assign the array of 50 elements to an array of 30 elements?