What is data structure and why we use different data structures?
Answers
Answered by
1
Any data structure is designed to organize data to suit a specific purpose so that it can be accessed and worked with in appropriate ways. In computer programming, a data structure may be selected or designed to store data for the purpose of working on it with various algorithms.
Hash table is a data structure used to implement an associative array, a structure that can map keys to values. The developer can use Hash table in the following use cases. Inserts are generally slow, reads are faster than trees. Hashing is used so that searching a database can be done more efficiently
Hash table is a data structure used to implement an associative array, a structure that can map keys to values. The developer can use Hash table in the following use cases. Inserts are generally slow, reads are faster than trees. Hashing is used so that searching a database can be done more efficiently
Attachments:
Similar questions