What is the difference between Hash Table and Arrays?
Answers were Sorted based on User's Feedback
Answer / sey
both hash table and arrays are data structure, but the way
they store data are different. hash table in some way use
array for its implementations so what makes it a hash table
is the design of hash function that map key(value)to the
hash table. the has function has noting to do with the
actual value(key) except to create O(1) hit to access,
insert or delete item.
Is This Answer Correct ? | 1 Yes | 3 No |
Answer / olivia
One more thing:
When generate a hash table, you don't have to set the
size. When generate an array, the size has to be set.
Hash table can save you space if you don't know how big an
array you may need.
Is This Answer Correct ? | 4 Yes | 8 No |
What is a decimal in c#?
what is Diff Gram
What is int16?
What is difference between iqueryable and ienumerable in c#?
Give examples for reference types?
What is written in c#?
Explain dataadapter.update method in .net?
What is the use of tuple in c#?
Explain about Destructor method?
4. Describe the process when we send a request URL? And who is responsible for that?
What is difference between value and reference types ?
How do I format in c#?