DATA STRUCTURE
A Data structure is a systematic way to store and organize data so that it can be used efficiently. The data is arranged in the form of an array, linked list, stack, or queue. Data structures are very useful in all aspects of computer science. Data structure is associated with algorithms that allow programmers to handle the data in an efficient way.
DATA STRUCTURE REQUIREMENTS:-
Applications are becoming more complex and data is crucial. The problems that arise in the data will be resolved by using data structures.
ISSUES ARISING FROM THE LACK OF DS:-
*)Multiple requests
*) Data search
*) Processor speed
THE BENEFITS OF DS:-
Re-usability: Data structures are reusable.
Efficiency: A program will be more efficient. It uses binary trees or hash tables.
Abstraction: The process of hiding unnecessary data is known as abstraction. The data structure is specified with an ADT(Abstract Data Type)
TYPES OF DS:-
TREE
STACK
LINKED LIST
QUEUE
ARRAY
BASIC TERMINOLOGIES IN DS:-
Get Janany.J’s stories in your inbox
Join Medium for free to get updates from this writer.
Attributes — Key properties of the data.
Entity — It is a collection of attributes.
Entity Set — Entities with similar attributes are called an entity set.
Field — It is the single elementary unit of information.
Record — It is a collection of field values of a given entity.
File — It is a collection of records.
Data — It is a set of values.
Data item — It is a single unit of values.
Group items — Data items that are divided into sub-items are called group items.
Elementary items — Data items that are not divided into sub items are called elementary items.
LINEAR DATA STRUCTURE: —
Array
Stack
Queue
NON-LINEAR DATA STRUCTURE: —
Tree
Graphs
OPERATIONS ON DS:-
o Insertion
o Deletion
o Traversing
o Searching
o Sorting
o Merging









