Implementation of data structures in real life

Duggal Shweta
2 min readDec 31, 2020

--

Photo by Scott Graham on Unsplash

When we first start learning or start diving into any new concept, we always wonder will these concepts anyhow be used in our real life or be of some effective use.

Data structures are basically the means of storing data in a very effective manner. Each structure has different ways in which data is inserted, deleted, or queried.

Data structures allows the information storage on hard disks, they provides means for management of large dataset such as databases or internet indexing services., they are necessary for design of efficient algorithms, they allow safe storage of information on a computer.

They are used as a framework for organizing and storing information in virtual memory forms, such as the Cloud or other shared storage systems, store large quantities of data rapidly and efficiently.

Data structures solves the dilemma of storing data efficiently and how to retrieve it over time ,it organizes and prioritize information into datasets and databases that can be compressed efficiently to save storage space.

Some few basic examples of usage of data structures in real life can be-:

· If we need to keep a deck of cards and arrange it properly we can use Stack to make a proper arrangement of cards one over another.

· If you need to search your roll number in 20000 pages of PDF document , we can use Binary search tree and can make our work a lot easier.

  • To store the customer order information in a drive-in burger place. (Customers keep on coming and they have to get their correct food at the payment/food collection window.) . We can do this by using link list.

We are able to relate Data structures with our day to day life and make it more fun to study. Even those who are from non-technical backgrounds, they can also learn the techniques used in the algorithms for solving their daily problems.

Furthermore, one cannot neglect the importance of Data structures in any programming language. Data structures can never get extinct, rather it will keep evolving because we need them to solve complex problems.

--

--

Responses (1)