What is the difference between Hash Table and Arrays?

Answer Posted / naga samrat chowdary narla

In both these data structures you require index to access the element(s). in case of hash table we use hash function to calculate the index from key.

one more we can say with respect to time complexity for insert, delete and search

Thanks,
Naga Samrat Chowdary, Narla

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to assign Null value to Var?

773


What is the difference between int16 and int32 in c#?

656


What is as keyword in c#?

782


What is static and use of it?

711


What is system predicate?

639


Can the nested class access, the containing class. Give an example?

676


If casting fails what type of exception is thrown?

669


What is difference between mutable and immutable in c#?

684


What is keywords in c#?

686


What is the use of console application in c#?

702


What are the types of delegates in c#?

670


Can class be protected in c#?

716


What is sealed class in c#?

710


How do I type a whitespace character?

772


What is the correct way of declaring an xml namespace?

661