SlideShare a Scribd company logo
Presented by
Dr. U. Latha Maheswari
Assistant Professor
DATA STRUCTURES and its classifications.pptx
OBJECTIVES
To be familiar with the use of data structure as the
foundational base for computer solutions to problem
To understand basic concepts about arrat, stack, queue, list,
trees and graphs.
To understand various techniques of searching and sorting.
WHAT IS DATA STRUCTURE
Data structure is a particular way of storing and organizing data in a
computer, so that it can be efficiently used.
They provide a means to manage large amounts of data efficiently,
such as large databases.
Data are simply values or set of values and Database is organized
collection of data.
DATA STRUCTURES and its classifications.pptx
Operation Description
Insertion Add a new element to the data structure.
Deletion Remove an existing element from the data structure.
Traversal Visit all elements in the data structure
Searching Find the location of a specific element.
Sorting Arrange elements in a specific order.
Updating Modify the value of an existing element.
Accessing Retrieve a specific element using its position or key.
Merging Combine two data structures of the same type into one.
Splitting Divide one data structure into two or more parts.
ARRAY
• Array is a linear data structure where all
elements are arranged sequentially.
• It is a collection of elements of same
datatype stored at contiguous
memory locations.
Types of Array
Application of arrays
• Data storage - Store fixed size homogenous data
• Algorithms - Sorting, Searching.
• OS/Buffers - Circular input/output buffers
• Graph & trees - Adjacency Matrix/ list,heap.
• Programming Languages - String storage and manipulation.
• Web/Multimedia - Images, Video(pixel/frame arrays)
Linked list
• A linked list is a linear data structure consisting of
nodes, where each node contains data and a
reference to the next node.
Linked List Structure
A linked list is made up of nodes, where each node
contains:
• Data: The value stored in the node.
• Next: A pointer/reference to the next node in the
list.
Types of Linked List
• Singly Linked List – Each node has only one reference to the next node in the sequence.
• Doubly Linked List – Each node contains two references: one pointing to the next node and one pointing
to the previous node.
• Circular Linked List – The last node in the list points back to the first node, forming a circular structure.
DATA STRUCTURES and its classifications.pptx
STACK
A stack is a last in first out (LIFO) data structure. It
supports two basic operations called push and pop.
The push operation adds an element at the top of the
stack and the pop operation removes an element from
the top of the stack.
DATA STRUCTURES and its classifications.pptx
Applications of stack
Browsers use stack data structure to keep track of
previously visited sites.
Call log in mobile also uses stack data structure.
The stack is used in media players. Useful to playing
next and previous song.
QUEUE
• A queue is a linear data structure that follows the FIFO (First-In, First-
Out) principle. This means that the first element added to the queue
will be the first one to be removed.
Types of Queue
• Simple Queue
• Priority Queue
• Circular Queue
TREE
A tree data structure organizes
elements in a hierarchy, like a family
tree. It has
• Root: The topmost element.
• Parent & Child: A node that has
smaller nodes (children) below it.
• Leaf: A node with no children.
Types of Trees :
• Binary Tree : Each node can have at most two children.
• Binary Search Tree (BST): A binary tree with the property that left children are
smaller than the parent, and right children are larger.
• Balanced Tree: A tree where the height is minimized (e.g., AVL tree, Red-Black
tree).
• Heap: A tree where the parent has a priority over children (Min Heap, Max
Heap).
Graph
• A graph is a collection of vertices (nodes)
and edges (connections). It can be
represented as G = (V, E), where:
• V is the set of vertices.
• E is the set of edges.
TYPES of Representation of Graph
Applications of Graph
• Modeling networks, web pages, and social media connections
• Analyzing social networks and connections between individuals and
groups
• Representing transportation systems (e.g., Google Maps)
• Supporting computer vision and natural language processing
• Designing circuits
• Bioinformatics
Thank you

More Related Content

PPTX
DATA STRUCTURE and its fundamentals .pptx
PPTX
DATA STRUCTURE INTRODUCITON FULL NOTES.pptx
PPTX
common Data structure algorithms and application
PPTX
Data Structures.pptx sttrycture o data irt is
PPTX
data science
PPTX
DSA - Copy.pptx
PPTX
sourabhpptsasdfghjkcdfxcvhbycfxv hgvihjubgveminar.pptx
PPTX
Introduction to data structures (ss)
DATA STRUCTURE and its fundamentals .pptx
DATA STRUCTURE INTRODUCITON FULL NOTES.pptx
common Data structure algorithms and application
Data Structures.pptx sttrycture o data irt is
data science
DSA - Copy.pptx
sourabhpptsasdfghjkcdfxcvhbycfxv hgvihjubgveminar.pptx
Introduction to data structures (ss)

Similar to DATA STRUCTURES and its classifications.pptx (20)

PPTX
Which data structure is it? What are the various data structure kinds and wha...
PDF
INTRODUCTION TO DATA STRUCTURES AND ALGORITHMS
PDF
INTRODUCTION TO DATA STRUCTURES AND ALGORITHM
PPTX
Introduction of Data Structure
PPTX
Circular Linked List.pptx
PPT
Data_Structure_and_Algorithms_Lecture_1.ppt
PPTX
Data_structure.pptx
PPT
data structures
PPTX
data structure and algorithms arrayby anay.pptx
PPT
Presentation on data structure And algorithms
PDF
.DATA STRUCTURES
PPT
09c-DataStructuresListsArrays (1).p with all informationpt
PPT
Data Structures
PPT
09c-DataStructuresListsArrays.ppt
PPT
09c-DataStructuresListsArrays.ppt
PPT
Data Structures linked Lists Arrays introduction
PPTX
Data structure unitfirst part1
PPTX
Data structure unitfirst part1
PPTX
Data structure power point presentation
PPTX
Data structure & algorithms introduction
Which data structure is it? What are the various data structure kinds and wha...
INTRODUCTION TO DATA STRUCTURES AND ALGORITHMS
INTRODUCTION TO DATA STRUCTURES AND ALGORITHM
Introduction of Data Structure
Circular Linked List.pptx
Data_Structure_and_Algorithms_Lecture_1.ppt
Data_structure.pptx
data structures
data structure and algorithms arrayby anay.pptx
Presentation on data structure And algorithms
.DATA STRUCTURES
09c-DataStructuresListsArrays (1).p with all informationpt
Data Structures
09c-DataStructuresListsArrays.ppt
09c-DataStructuresListsArrays.ppt
Data Structures linked Lists Arrays introduction
Data structure unitfirst part1
Data structure unitfirst part1
Data structure power point presentation
Data structure & algorithms introduction
Ad

Recently uploaded (20)

PDF
Complications of Minimal Access Surgery at WLH
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
Pre independence Education in Inndia.pdf
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PPTX
master seminar digital applications in india
PDF
Classroom Observation Tools for Teachers
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
TR - Agricultural Crops Production NC III.pdf
PPTX
Cell Structure & Organelles in detailed.
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Institutional Correction lecture only . . .
PDF
Basic Mud Logging Guide for educational purpose
PPTX
Pharma ospi slides which help in ospi learning
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
Complications of Minimal Access Surgery at WLH
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
Pre independence Education in Inndia.pdf
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
Final Presentation General Medicine 03-08-2024.pptx
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
master seminar digital applications in india
Classroom Observation Tools for Teachers
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Renaissance Architecture: A Journey from Faith to Humanism
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
TR - Agricultural Crops Production NC III.pdf
Cell Structure & Organelles in detailed.
VCE English Exam - Section C Student Revision Booklet
Institutional Correction lecture only . . .
Basic Mud Logging Guide for educational purpose
Pharma ospi slides which help in ospi learning
102 student loan defaulters named and shamed – Is someone you know on the list?
Ad

DATA STRUCTURES and its classifications.pptx

  • 1. Presented by Dr. U. Latha Maheswari Assistant Professor
  • 3. OBJECTIVES To be familiar with the use of data structure as the foundational base for computer solutions to problem To understand basic concepts about arrat, stack, queue, list, trees and graphs. To understand various techniques of searching and sorting.
  • 4. WHAT IS DATA STRUCTURE Data structure is a particular way of storing and organizing data in a computer, so that it can be efficiently used. They provide a means to manage large amounts of data efficiently, such as large databases. Data are simply values or set of values and Database is organized collection of data.
  • 6. Operation Description Insertion Add a new element to the data structure. Deletion Remove an existing element from the data structure. Traversal Visit all elements in the data structure Searching Find the location of a specific element. Sorting Arrange elements in a specific order. Updating Modify the value of an existing element. Accessing Retrieve a specific element using its position or key. Merging Combine two data structures of the same type into one. Splitting Divide one data structure into two or more parts.
  • 7. ARRAY • Array is a linear data structure where all elements are arranged sequentially. • It is a collection of elements of same datatype stored at contiguous memory locations.
  • 9. Application of arrays • Data storage - Store fixed size homogenous data • Algorithms - Sorting, Searching. • OS/Buffers - Circular input/output buffers • Graph & trees - Adjacency Matrix/ list,heap. • Programming Languages - String storage and manipulation. • Web/Multimedia - Images, Video(pixel/frame arrays)
  • 10. Linked list • A linked list is a linear data structure consisting of nodes, where each node contains data and a reference to the next node. Linked List Structure A linked list is made up of nodes, where each node contains: • Data: The value stored in the node. • Next: A pointer/reference to the next node in the list.
  • 11. Types of Linked List • Singly Linked List – Each node has only one reference to the next node in the sequence. • Doubly Linked List – Each node contains two references: one pointing to the next node and one pointing to the previous node. • Circular Linked List – The last node in the list points back to the first node, forming a circular structure.
  • 13. STACK A stack is a last in first out (LIFO) data structure. It supports two basic operations called push and pop. The push operation adds an element at the top of the stack and the pop operation removes an element from the top of the stack.
  • 15. Applications of stack Browsers use stack data structure to keep track of previously visited sites. Call log in mobile also uses stack data structure. The stack is used in media players. Useful to playing next and previous song.
  • 16. QUEUE • A queue is a linear data structure that follows the FIFO (First-In, First- Out) principle. This means that the first element added to the queue will be the first one to be removed.
  • 17. Types of Queue • Simple Queue • Priority Queue • Circular Queue
  • 18. TREE A tree data structure organizes elements in a hierarchy, like a family tree. It has • Root: The topmost element. • Parent & Child: A node that has smaller nodes (children) below it. • Leaf: A node with no children.
  • 19. Types of Trees : • Binary Tree : Each node can have at most two children. • Binary Search Tree (BST): A binary tree with the property that left children are smaller than the parent, and right children are larger. • Balanced Tree: A tree where the height is minimized (e.g., AVL tree, Red-Black tree). • Heap: A tree where the parent has a priority over children (Min Heap, Max Heap).
  • 20. Graph • A graph is a collection of vertices (nodes) and edges (connections). It can be represented as G = (V, E), where: • V is the set of vertices. • E is the set of edges.
  • 22. Applications of Graph • Modeling networks, web pages, and social media connections • Analyzing social networks and connections between individuals and groups • Representing transportation systems (e.g., Google Maps) • Supporting computer vision and natural language processing • Designing circuits • Bioinformatics