What is the difference between Hash Table and Arrays?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a scope in c#?

486


What is the difference between ref and out in c#?

474


What are data types examples?

503


Why is it efficient to use System.string under System.Text.StringBuilder ?

531


What are collections in c#?

479






What is mean by c#?

490


What is the purpose of a console table?

479


How objects are stored in memory?

504


What language do desktop applications use?

484


For methods inside the interface why can’t you specify the accessibility modifier?

559


Why is dll used?

609


What do you mean by abstract class in c#?

508


What is difference between mutable and immutable in c#?

457


Explain attributes in c#?

489


Can you have parameters for static constructors?

545