Introduction to Data Structures
Hi folks,
In this blog thread, I am going to explain the data structures that are considered to be the primitive elements of computing. Understanding and knowing about the Data Structure makes the Computer Science and IT professionals to get strengthened in logic and in building several complex systems efficiently.
DATA STRUCTURE

Data Structure is a systematic way to organize data to handle it efficiently. In other words, Data Structure can be defined as the method of organizing and storing data in a computer so that it can be accessed and modified efficiently.
BASIC COMPONENTS OF A DATA STRUCTURE
A Data Structure consists of three main components. They are
- collection of data values
- Relationships among them
- functions that can be applied to the data
FOUNDATIONS OF A DATA STRUCTURE
For a data structure, the two fundamental terms are as follows. They are
- Interface
- Implementation
INTERFACE

Each data structure has an interface. Interface represents the set of operations that a data structure supports. An interface only provides the list of supported operations, type of parameters they can accept and return type of these operations.
IMPLEMENTATION
Each data structure has an interface. Interface represents the set of operations that a data structure supports. An interface only provides the list of supported operations, type of parameters they can accept and return type of these operations.
CHARACTERISTICS OF A DATA STRUCTURE
- Correctness − Data structure implementation should implement its interface correctly.
- Time Complexity − Running time or the execution time of operations of data structure must be as small as possible.
- Space Complexity − Memory usage of a data structure operation should be as little as possible.
NEED OF DATA STRUCTURE
As applications are getting complex and data rich, there are three common problems that applications face now-a-days.
- Data Search − Consider an inventory of 1 million(106) items of a store. If the application is to search an item, it has to search an item in 1 million(106) items every time slowing down the search. As data grows, search will become slower.
- Processor Speed − Processor speed although being very high, falls limited if the data grows to billion records.
- Multiple Requests − As thousands of users can search data simultaneously on a web server, even the fast server fails while searching the data.
APPLICATIONS
- Data structures helps to manage large amounts of data efficiently for large databases and Internet indexing services.
- They are key to design efficient Algorithms.
- They are used to organize the storage and retrieval of information stored in both main and secondary memory.
Comments
Post a Comment