SlideShare a Scribd company logo
4
Most read
6
Most read
10
Most read
Applications of Data Structures
Ram
Agenda
• Applications of Linked List
• Applications of Stacks
• Applications of Queue
• Applications of Deque
• Applications of Trees
Applications of data structures
Linked List
• The linked list is fundamental, and as the simplest persistent,
recursive data structure, is used everywhere.
• Linked list are usually a basic dynamic data structure which
implements queues and stacks
• In web-browsers, where it creates a linked list of web-pages
visited, so that when you check history (traversal of a list) or
press back button, the previous node's data is fetched.
Applications of data structures
Stack
• To reverse a word. You push a given word to stack - letter by letter -
and then pop letters from the stack.
• An "undo" mechanism in text editors; this operation is accomplished by
keeping all text changes in a stack.
- Undo/Redo stacks in Excel or Word.
• Language processing :
-compiler's syntax check for matching braces is implemented by
using stack.
• A stack of plates/books in a cupboard.
• A garage that is only one car wide. To remove the first car in we have
to take out all the other cars in after it.
• Wearing/Removing Bangles.
• Back/Forward stacks on browsers.
• Support for recursion
-Activation records of method calls.
Applications of data structures
Real World Examples
Real World Examples
Programming Applciations
• When a resource is shared among multiple consumers. Examples
include CPU scheduling, Disk Scheduling.
• When data is transferred asynchronously (data not necessarily
received at same rate as sent) between two processes. Examples
include IO Buffers, pipes, file IO, etc.
Applications of data structures
Deque
• Palindrome check
• Steal Job Scheduling Algorithm
– -The steal algorithm implements task scheduling for several process(Multiprocess
scheduling)
– -Each Processor has a deque linked to it
– -If the process completes the execution of its own queue,it pulls the thread from the rear end
of other processor and executes it.
• Undo-Redo Operations in software applications
Applications of data structures
Folders in Operating System
in windows go to command line and type tree. You can see the folder tree
structure.
Linux File System is also a Tree
HTML Document
All html text, attributes are stored in tree called Document Object Model
(DOM).
Network Routing
Syntax Tree in Compiler
In compiler , every expression is converted into syntax tree format.
Auto Corrector and Spell Checker
Next Move in Games
In Artificial intelligence game (opponent is cpu) , next moves are stored
using tree data structure.
Applications of data structures

More Related Content

PPT
First order logic
PDF
IoT sensor devices
PPTX
The Amazing Ways Artificial Intelligence Is Transforming Genomics and Gene Ed...
PPT
Supply chain management
PPT
Chapter 08
PPT
Nosocomial Infection
PPT
11. Storage and File Structure in DBMS
PPTX
Application of Data structure
First order logic
IoT sensor devices
The Amazing Ways Artificial Intelligence Is Transforming Genomics and Gene Ed...
Supply chain management
Chapter 08
Nosocomial Infection
11. Storage and File Structure in DBMS
Application of Data structure

What's hot (20)

PPTX
heap Sort Algorithm
PPTX
Bfs and Dfs
PPTX
Introduction to Software Engineering
PPTX
Lexical analysis - Compiler Design
PPTX
Software Engineering Practice
PPTX
Priority Queue in Data Structure
PPT
Data structures using c
PPTX
Recognition-of-tokens
PPTX
Specification-of-tokens
PDF
Software requirements
DOC
Time and space complexity
PDF
Algorithms Lecture 1: Introduction to Algorithms
PPTX
Queue in Data Structure
PPTX
Problem Formulation in Artificial Inteligence Projects
PPTX
Selection sorting
ODP
Evolutionary process models se.ppt
PPTX
Introduction to data structure ppt
PPTX
Matching techniques
PDF
Data structure ppt
PDF
Symbol table in compiler Design
heap Sort Algorithm
Bfs and Dfs
Introduction to Software Engineering
Lexical analysis - Compiler Design
Software Engineering Practice
Priority Queue in Data Structure
Data structures using c
Recognition-of-tokens
Specification-of-tokens
Software requirements
Time and space complexity
Algorithms Lecture 1: Introduction to Algorithms
Queue in Data Structure
Problem Formulation in Artificial Inteligence Projects
Selection sorting
Evolutionary process models se.ppt
Introduction to data structure ppt
Matching techniques
Data structure ppt
Symbol table in compiler Design
Ad

Viewers also liked (20)

PPT
Stack Data Structure & It's Application
PPT
DATA STRUCTURES
PPTX
Presentation on Elementary data structures
PPTX
Trie (1)
PDF
Application of hashing in better alg design tanmay
PPS
07 ds and algorithm session_10
PPS
04 ds and algorithm session_05
PPT
Lec6 mod linked list
PPT
Operations on linked list
PPS
05 ds and algorithm session_07
PPTX
Linked Lists
PDF
Queues
PPTX
Tries - Tree Based Structures for Strings
PDF
PPT
Sparse Matrix and Polynomial
PPTX
Application of tries
PDF
Multiplication of two 3 d sparse matrices using 1d arrays and linked lists
PPTX
Sparse matrices
Stack Data Structure & It's Application
DATA STRUCTURES
Presentation on Elementary data structures
Trie (1)
Application of hashing in better alg design tanmay
07 ds and algorithm session_10
04 ds and algorithm session_05
Lec6 mod linked list
Operations on linked list
05 ds and algorithm session_07
Linked Lists
Queues
Tries - Tree Based Structures for Strings
Sparse Matrix and Polynomial
Application of tries
Multiplication of two 3 d sparse matrices using 1d arrays and linked lists
Sparse matrices
Ad

Similar to Applications of data structures (20)

PPTX
Presentation on Data Structure
PPTX
Data Engineering for Data Scientists
PPTX
Software architecture for data applications
PPTX
Intro to Data Structure & Algorithms
PDF
Data all over the place! How SQL and Apache Calcite bring sanity to streaming...
PPTX
Multivariate algorithms in distributed data processing computing.pptx
PPTX
Multivariate algorithms in distributed data processing computing.pptx
PPTX
Advances in Scientific Workflow Environments
PPT
HDFS_architecture.ppt
PPT
Implementing the Databese Server session 02
PDF
Big Data Streams Architectures. Why? What? How?
PPT
Formal machines for Streaming XML Querying
PPTX
Functional? Reactive? Why?
PDF
20CS402 - DATABASE MANAGEMENT SYSTEMS NOTES
PDF
Building Big Data Streaming Architectures
PDF
Apache Spark Presentation good for big data
PPTX
Cc module 3.pptx
PDF
The Future of Fast Databases: Lessons from a Decade of QuestDB
PPTX
End-to-end Data Governance with Apache Avro and Atlas
Presentation on Data Structure
Data Engineering for Data Scientists
Software architecture for data applications
Intro to Data Structure & Algorithms
Data all over the place! How SQL and Apache Calcite bring sanity to streaming...
Multivariate algorithms in distributed data processing computing.pptx
Multivariate algorithms in distributed data processing computing.pptx
Advances in Scientific Workflow Environments
HDFS_architecture.ppt
Implementing the Databese Server session 02
Big Data Streams Architectures. Why? What? How?
Formal machines for Streaming XML Querying
Functional? Reactive? Why?
20CS402 - DATABASE MANAGEMENT SYSTEMS NOTES
Building Big Data Streaming Architectures
Apache Spark Presentation good for big data
Cc module 3.pptx
The Future of Fast Databases: Lessons from a Decade of QuestDB
End-to-end Data Governance with Apache Avro and Atlas

Recently uploaded (20)

PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
RMMM.pdf make it easy to upload and study
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Complications of Minimal Access Surgery at WLH
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
Classroom Observation Tools for Teachers
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...
102 student loan defaulters named and shamed – Is someone you know on the list?
O5-L3 Freight Transport Ops (International) V1.pdf
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
RMMM.pdf make it easy to upload and study
Module 4: Burden of Disease Tutorial Slides S2 2025
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
01-Introduction-to-Information-Management.pdf
Week 4 Term 3 Study Techniques revisited.pptx
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
Complications of Minimal Access Surgery at WLH
FourierSeries-QuestionsWithAnswers(Part-A).pdf
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Microbial diseases, their pathogenesis and prophylaxis
human mycosis Human fungal infections are called human mycosis..pptx
Classroom Observation Tools for Teachers
Renaissance Architecture: A Journey from Faith to Humanism
Introduction to Child Health Nursing – Unit I | Child Health Nursing I | B.Sc...

Applications of data structures

  • 1. Applications of Data Structures Ram
  • 2. Agenda • Applications of Linked List • Applications of Stacks • Applications of Queue • Applications of Deque • Applications of Trees
  • 4. Linked List • The linked list is fundamental, and as the simplest persistent, recursive data structure, is used everywhere. • Linked list are usually a basic dynamic data structure which implements queues and stacks • In web-browsers, where it creates a linked list of web-pages visited, so that when you check history (traversal of a list) or press back button, the previous node's data is fetched.
  • 6. Stack • To reverse a word. You push a given word to stack - letter by letter - and then pop letters from the stack. • An "undo" mechanism in text editors; this operation is accomplished by keeping all text changes in a stack. - Undo/Redo stacks in Excel or Word. • Language processing : -compiler's syntax check for matching braces is implemented by using stack. • A stack of plates/books in a cupboard. • A garage that is only one car wide. To remove the first car in we have to take out all the other cars in after it. • Wearing/Removing Bangles. • Back/Forward stacks on browsers. • Support for recursion -Activation records of method calls.
  • 10. Programming Applciations • When a resource is shared among multiple consumers. Examples include CPU scheduling, Disk Scheduling. • When data is transferred asynchronously (data not necessarily received at same rate as sent) between two processes. Examples include IO Buffers, pipes, file IO, etc.
  • 12. Deque • Palindrome check • Steal Job Scheduling Algorithm – -The steal algorithm implements task scheduling for several process(Multiprocess scheduling) – -Each Processor has a deque linked to it – -If the process completes the execution of its own queue,it pulls the thread from the rear end of other processor and executes it. • Undo-Redo Operations in software applications
  • 14. Folders in Operating System in windows go to command line and type tree. You can see the folder tree structure.
  • 15. Linux File System is also a Tree
  • 16. HTML Document All html text, attributes are stored in tree called Document Object Model (DOM).
  • 18. Syntax Tree in Compiler In compiler , every expression is converted into syntax tree format.
  • 19. Auto Corrector and Spell Checker
  • 20. Next Move in Games In Artificial intelligence game (opponent is cpu) , next moves are stored using tree data structure.