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

What is lock statement in C#?

558


How many static constructors are allowed in a class?

486


What is console write in c#?

502


Explain about generics in c#.net?

519


What is field in c#?

470






What is dependency injection in simple words?

509


What are "class access modifiers" in C#?

540


What is an icollection in c#?

494


What is the difference between virtual method and abstract method?

549


Is datetime a value type in c#?

495


Is c# queue thread safe?

503


What's c# ?

599


What does clr stand for?

482


How do you prevent a class from being inherited in c#?

458


What is default c#?

508