What is the difference between Hash Table and Arrays?

Answers were Sorted based on User's Feedback



What is the difference between Hash Table and Arrays?..

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

What is the difference between Hash Table and Arrays?..

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

Post New Answer

More C Sharp Interview Questions

Why do we use reflection in c#?

0 Answers  


1. What is IIS. pl explain practically. 2. Difference b/w webserver and application server. pl explain practically.

1 Answers  


What is sealed class in c#?

0 Answers  


Why do canadians say zed?

0 Answers  


What is lambda expression in c#?

0 Answers  


in object oriented programming, how would you describe encapsulation?

0 Answers   Siebel Systems,


What do you mean by object pooling?

0 Answers  


Why do we use dictionary in c#?

0 Answers  


Explanation on Generic?

0 Answers   QuestPond,


What is the major difference between a custom control and user control?

0 Answers   C DAC, CDAC,


Indexers in c#?

8 Answers   Intaglio, Microsoft, TCS,


In which order the destructor is called for an inherited class?

0 Answers  


Categories