SlideShare a Scribd company logo
1 of 9
DATA STRUCTURES
AND
ALGORITHMS
SKILL INNOVATIVE TASK – II
BY
MANIMOZHIYAN M
22BCM531
I-BSc.COMPUTER SCIENCE-’B’
APPLICATIONS OF DATA STRUCTURE
DATA STRUCTURE :
Data structure is a kind of data element set which
has certain logical relation, uses some kinds of storage structures
in computer, and encapsulates corresponding operation. Data
structure contains three aspects of content, logical relationships,
storage relationships and operations. The logical structure of data
can be divided into linear structure and nonlinear structure
roughly. A one-to-one relationship exists in the data elements of
linear structure, except the first and the last node; any other node
has only one direct precursor and descendant node. Linear
structures include linear tables, stacks, and queues. The tree, set
and graph are all nonlinear structures, in which the tree structure
simulates level, and the graph structure simulates symmetric and
asymmetric relation. The research data structure is the need of
program design to make the program design more robust and
efficient, and the development of the program more convenient .
APPLICATION OF DATA STRUCTURE :
ARRAY :
 It is the collection of similar data types that are stored in the Contiguous
Memory Locations. Arrays are used in Python as well. Arrays work on the scale
of 0 to (n-1), where ‘n’ denotes the size of the array. Arrays are of two types.
They are:
 One-dimensional Array
 Multi-dimensional Array
2D ARRAY
LINKED LIST :
 Linked list separate the data structures that are stored
consecutively. The last node of a data structure will be linked to the first node of
the next data structure. The first element of any data structure is known as the
Head of the List. The linked list helps in memory allocation, stores data in
internal structure etc. There are three types of Linked Lists. They are:
 Single Linked List
 Double Linked List
 Circular Linked List
STACK :
 The linear data structure stores the data elements in the ‘first-in/ last-
out’ or the ‘last-in/ first out’ order. These orders are known as FILO and LIFO
orders, respectively. By using Stack, the element can be added and removed
simultaneously from the same end. In Python, Stack can be developed in the
following ways.
 Queue.LifoQueue
 List
 Collections.deque
QUEUE :
 The Queue is a linear data structure that follows the FIFO order. FIFO
stands for First In and First Out. The order is that the elements which are
inserted first are to be removed first. The properties of Queue data structure
are:
 Inserting an element
 Deleting the element
 Time of access.
TREE DATA STRUCTURE :
 Tree data structure are are completely different from the arrays, stacks, queues and linked lists. Tree data structures
are hierarchic. The tree data structure collects the nodes together to depict and stimulate the sequence. Tree data
structure does not store the data sequentially. It stores the data on multiple levels. The top node of the Tree Data
Structure is known as the Root Node. Any type of data can be stored in the root node. Each node shall definitely contain
the data. The branches in the Tree Data Structure are known as the children.
 The different parts of the Tree Data Structure are
 Root Node
 Child Node
 Edge
 Siblings
 Leaf Node
 Internal Nodes
 Height of the tree
 Degree of the Node
GRAPHS :
In Graph data structure, one node is simply connected to the other node
through the edge of the graph. The Graph Data Structure obviously uses Non-
linear data structures which are not sequentially arranged. The graph data
structures consist of edges and nodes represented by E and V, respectively. Graph
Data Structures do not have root nodes. It does not have a standard order of
arranging the data. Every tree is also known as the graph with n-1 edges where ‘n’
represents the total number of vertices in the graph. There are various categories
in the graphs such as undirected, unweighted, directed and weighted.
Data structures

More Related Content

Similar to Data structures

Introduction to Data Structure
Introduction to Data StructureIntroduction to Data Structure
Introduction to Data Structure
Jazz Jinia Bhowmik
 
data structure details of types and .ppt
data structure details of types and .pptdata structure details of types and .ppt
data structure details of types and .ppt
poonamsngr
 

Similar to Data structures (20)

DS Module 1.pptx
DS Module 1.pptxDS Module 1.pptx
DS Module 1.pptx
 
DATA STRUCTURE IN C LANGUAGE
DATA STRUCTURE IN C LANGUAGEDATA STRUCTURE IN C LANGUAGE
DATA STRUCTURE IN C LANGUAGE
 
DS Module 1.pptx
DS Module 1.pptxDS Module 1.pptx
DS Module 1.pptx
 
Introduction to Data Structure
Introduction to Data StructureIntroduction to Data Structure
Introduction to Data Structure
 
Which data structure is it? What are the various data structure kinds and wha...
Which data structure is it? What are the various data structure kinds and wha...Which data structure is it? What are the various data structure kinds and wha...
Which data structure is it? What are the various data structure kinds and wha...
 
DSA chapter 1
DSA chapter 1DSA chapter 1
DSA chapter 1
 
Introduction to data structures (ss)
Introduction to data structures (ss)Introduction to data structures (ss)
Introduction to data structures (ss)
 
Types of datastructures
Types of datastructuresTypes of datastructures
Types of datastructures
 
Classification of datastructure.ppt
Classification of datastructure.pptClassification of datastructure.ppt
Classification of datastructure.ppt
 
Ch1
Ch1Ch1
Ch1
 
UNITIII LDS.pdf
UNITIII LDS.pdfUNITIII LDS.pdf
UNITIII LDS.pdf
 
DataStructurePpt.pptx
DataStructurePpt.pptxDataStructurePpt.pptx
DataStructurePpt.pptx
 
PPT Format prashant .pptx
PPT Format prashant .pptxPPT Format prashant .pptx
PPT Format prashant .pptx
 
Data structure
Data structureData structure
Data structure
 
Data structures introduction
Data structures   introductionData structures   introduction
Data structures introduction
 
data structure details of types and .ppt
data structure details of types and .pptdata structure details of types and .ppt
data structure details of types and .ppt
 
Unit-1 DataStructure Intro.pptx
Unit-1 DataStructure Intro.pptxUnit-1 DataStructure Intro.pptx
Unit-1 DataStructure Intro.pptx
 
PM.ppt
PM.pptPM.ppt
PM.ppt
 
Over view of data structures
Over view of data structuresOver view of data structures
Over view of data structures
 
Over view of data structures
Over view of data structuresOver view of data structures
Over view of data structures
 

Recently uploaded

Recently uploaded (20)

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

Data structures

  • 1. DATA STRUCTURES AND ALGORITHMS SKILL INNOVATIVE TASK – II BY MANIMOZHIYAN M 22BCM531 I-BSc.COMPUTER SCIENCE-’B’
  • 2. APPLICATIONS OF DATA STRUCTURE DATA STRUCTURE : Data structure is a kind of data element set which has certain logical relation, uses some kinds of storage structures in computer, and encapsulates corresponding operation. Data structure contains three aspects of content, logical relationships, storage relationships and operations. The logical structure of data can be divided into linear structure and nonlinear structure roughly. A one-to-one relationship exists in the data elements of linear structure, except the first and the last node; any other node has only one direct precursor and descendant node. Linear structures include linear tables, stacks, and queues. The tree, set and graph are all nonlinear structures, in which the tree structure simulates level, and the graph structure simulates symmetric and asymmetric relation. The research data structure is the need of program design to make the program design more robust and efficient, and the development of the program more convenient .
  • 3. APPLICATION OF DATA STRUCTURE : ARRAY :  It is the collection of similar data types that are stored in the Contiguous Memory Locations. Arrays are used in Python as well. Arrays work on the scale of 0 to (n-1), where ‘n’ denotes the size of the array. Arrays are of two types. They are:  One-dimensional Array  Multi-dimensional Array 2D ARRAY
  • 4. LINKED LIST :  Linked list separate the data structures that are stored consecutively. The last node of a data structure will be linked to the first node of the next data structure. The first element of any data structure is known as the Head of the List. The linked list helps in memory allocation, stores data in internal structure etc. There are three types of Linked Lists. They are:  Single Linked List  Double Linked List  Circular Linked List
  • 5. STACK :  The linear data structure stores the data elements in the ‘first-in/ last- out’ or the ‘last-in/ first out’ order. These orders are known as FILO and LIFO orders, respectively. By using Stack, the element can be added and removed simultaneously from the same end. In Python, Stack can be developed in the following ways.  Queue.LifoQueue  List  Collections.deque
  • 6. QUEUE :  The Queue is a linear data structure that follows the FIFO order. FIFO stands for First In and First Out. The order is that the elements which are inserted first are to be removed first. The properties of Queue data structure are:  Inserting an element  Deleting the element  Time of access.
  • 7. TREE DATA STRUCTURE :  Tree data structure are are completely different from the arrays, stacks, queues and linked lists. Tree data structures are hierarchic. The tree data structure collects the nodes together to depict and stimulate the sequence. Tree data structure does not store the data sequentially. It stores the data on multiple levels. The top node of the Tree Data Structure is known as the Root Node. Any type of data can be stored in the root node. Each node shall definitely contain the data. The branches in the Tree Data Structure are known as the children.  The different parts of the Tree Data Structure are  Root Node  Child Node  Edge  Siblings  Leaf Node  Internal Nodes  Height of the tree  Degree of the Node
  • 8. GRAPHS : In Graph data structure, one node is simply connected to the other node through the edge of the graph. The Graph Data Structure obviously uses Non- linear data structures which are not sequentially arranged. The graph data structures consist of edges and nodes represented by E and V, respectively. Graph Data Structures do not have root nodes. It does not have a standard order of arranging the data. Every tree is also known as the graph with n-1 edges where ‘n’ represents the total number of vertices in the graph. There are various categories in the graphs such as undirected, unweighted, directed and weighted.