What is the difference between hashset and arraylist?
Answer / Ajay Kumar Singh
HashSet is a collection of unique elements without any specific order, while ArrayList is an ordered list that allows duplicate elements. HashSet uses a hash table for faster lookup times, whereas ArrayList uses an array under the hood.
| Is This Answer Correct ? | 0 Yes | 0 No |
What are the advantages of sorting?
Which sorting is worst?
Can we insert null in set?
How can you insert a node at the end of linked list?
Explain about the different lists available in the collection?
Why do we need a data structure?
Define internal nodes?
What are the Difference between tcp and udp?
How many types of data structure are there?
Of the following tree structure, which is, efficient considering space and time complexities? (a) Incomplete Binary Tree (b) Complete Binary Tree (c) Full Binary Tree (b) Complete Binary Tree.
What is an expression tree?
Is bubble sort slow?