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 the difference between method overriding and method overloading?

482


Why do you need boxing in c#?

490


Explain synchronous and asynchronous operations?

534


What is anonymous class in c#?

517


What is the difference between struct and class in c#?

478






What are the Configuration files in .net?

515


What is an example of a delegate?

509


What is null propagation c#?

504


Explain partial class in c#?

497


In howmany ways can you deploy an assembly?

543


What are extension methods and where can we use them?

460


What is gui in c#?

545


What is a class level variable in c#?

496


What is namespace explain with example?

457


Are cao stateful in nature?

475