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 exactly is serverless?

422


What is default value of enum c#?

455


When a Static Constructor is called in a Class?

576


What is lambda expression in c#?

499


What is data type in c# with example?

521






What is c sharp language?

502


Does google use c#?

507


What does return do in for loop?

472


What is sealed class in c#?

517


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

470


Can abstract class have constructor in c#?

489


How do I declare a pure virtual function in c#?

584


Why do we need delegates in c#?

486


What is difference between ilist and list in c#?

480


What are cshtml files?

484