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 can I access the registry from c# code?

717


How many constructor can a class have?

703


Why do we use namespace in c#?

708


What is the purpose of escape sequence?

794


How to find type of variable?

755


Explain the different ways a method can be overloaded?

643


What is reflection in c#?

663


What is readline c#?

656


What is the difference between asp net and c#?

689


Can we have multiple constructors in a class c#?

685


Explain the difference between “constant” and “read-only” variables used in c#?

781


What are the fundamental principles of oo programming?

793


In which way a two-dimensional array declared in C#?

695


What to implement on my class Finalize or IDisposable

742


What is the syntax for calling an overloaded constructor within a constructor (this() and constructorname() does not compile)?

712