Choice of correct Data Structures


Choice of correct Data Structures


Real-life application of its need:Think if you walk in a library looking for a particular book, but the books in the library aren’t organized in a perfect way. They aren’t in alphabetical order or shelved by a genre. All you see is a pile of books that reach the ceiling. When you ask the librarian to get the required book for you, she asks you to leave your phone number, so that she can call you whenever she finds the book. There are more than a thousand books in the library, and she has to search throughout each pile until she finds the book you want. It could take an hour, a day, a month, or even a year.
Fortunately, libraries do organize their books, and so finding a book usually doesn’t take very long.
Organizing a large number of items is hectic when you want to retrieve or access an item in an efficient and fast manner. In the world of software development, using a data structure is one way to organize data in computer systems. Choosing the right data structure for your application is critically more important.

Factors Determination:

For a programmer to choose a data structure for a program, must consider these factors,

   1. Size of the data.
   2. Size of the storage.
   3. Speed of data usage and access.
   4. Data dynamics, such as changing or editing the data.

 
HERE WE HAVE DISCUSSED DIFFERENT DATA-STRUCTURES AND THEIR PROPERTIES IN A BRIEF MANNER. !!CLICK HERE!!

Post a Comment

0 Comments