Can a hashset contain duplicates?
Answer / Mukesh Fattu Shivade
No, HashSet does not allow duplicate elements. Each element is added only once, and any subsequent attempt to add an existing element results in no change to the set.
| Is This Answer Correct ? | 0 Yes | 0 No |
Difference between calloc and malloc ?
When would you use a tuple?
What is the type of the algorithm used in solving the 8 Queens problem?
What is Storage Structures and File Structures? Can you show their relation? What are the examples of each? Thanks
What is data type and its types?
Which is the parent class of sortedset<e> class?
Now you are given an array of a characters (both ASCII and Kanji) and, an index into the array. The index points to the start of some character. Now you need to write a function to do a backspace (i.e. delete the character before the given index).
Explain recursive function & what is the data structures used to perform recursion?
Can array store heterogeneous data?
Write a program using mergesort technique.
What is data and information explain with example?
Are duplicates allowed in hashmap?