SlideShare a Scribd company logo
Data structure 101
Ageda
Overview
Importance of data structures
Types of Data Structure
- Arrays
- Lists
- Stack
- Queue
- Tree
- graph
Overview
when you're using your favorite apps
- You make friendship on facebook
- You follow influencer on instagram
- You get suggestion on google as you type
- You can perform redo and undo as you write a document
- You order the last item in the inventory while others trying to order it
So here we see some DATA (wither we created it or it is already exist ) and we were able
to perform OPERATIONS on top of it or get more info from it
How all this is possible Very Fast and without problems every time
All of this is powered by what so called data structure: its the way we store and organize
specific data to perform specific operations efficiently
Importance of data structures
Data structures provide a way to organize and manage data in such a way that it can be
accessed and modified efficiently.
The importance of data structures lies in their ability to optimize the performance of
algorithms and operations performed on data.
They come in different types, like arrays, lists, and trees, each with its own way of
arranging data, By choosing the appropriate data structure for a particular problem or
application, developers can significantly improve efficiency in terms of time and space
complexity.
Essentially, understanding and implementing efficient data structures can lead to faster
algorithms, reduced resource consumption, and overall better-performing software
systems.
Types of Data Structure
01 Array, List, Linked List, double linked List
02 Stack and Queue
03
04
Tree (binary, AVL, B) and graph(directed, undirected)
Map, Set, Tuple, Heap, Matrix, Victor, etc…
Array
Arrays are a collection of items stored at contiguous memory locations.
Features
Simplicity: Easy to understand and implement.
Efficiency: Direct access to elements using indices.
Limitations
Fixed Size: Arrays have a predetermined size allocation
is done at compile time.
Index does not hold much info: what if you can
specify
Meaningful name for the item instead index
number
List
List uses array internally to solve the fixed
memory allocation, and does reallocation
under the hood
Not good when you need to do a lot of
insertion and deletion from the middle
because of the shifting operation
Linked List
Another variant of lists, it uses pointers
internally instead of array, are a sequence of
elements where each element points to the
next.
Suitable when need insertion and deletion
from the middle because it just change the
pointer
Stack
This data structure is needed when you want
to achieve - Last In, First Out (LIFO) behavior
Real-World Example: Imagine a stack of plates The
last plate you put on top is the first one you take off.
Operations available are:
● Push: Adds an item to the top of the stack.
● Pop: Removes the top item from the stack.
Applications: Undo/redo fearure, Memory
management, Expression evaluation, etc…
Queue
This data structure is needed when you want to
achieve - First In, First Out (FIFO) behavior
Real-World Example: Consider a queue at a ticket
counter. The first person in line is the first one to be
served.
Operations available are:
● Enqueue: Adds an item to the end of the queue.
● Dequeue: Removes the item from the front of the
queue.
Applications: Job scheduling, Batch Processing, Web
servers, etc…
Tree
Trees are hierarchical data structures consisting of
nodes connected by edges.
There are many types of tree: the most common ones
are:
Binary trees: a type of tree in which each node has at
most two children
Binary Search Trees: type of binary tree where the
value of each node's left child is less than the value of
the node, and the value of each node's right child is
greater.
Features:
- Efficient Searching: BSTs enable efficient searching,
insertion, and deletion operations.
- In-order Traversal: Traversing a BST in-order yields
elements in sorted order.
Problems: sometimes insertion/deletion can lead to
Applications on
Tree
Suggestion as you type
Database indexing
Organization chart
OS File System
Web pages (Document Object Model)
Graphs
Graph Data Structure is a collection of nodes
connected by edges. It’s used to represent
relationships between different entities. Graph
algorithms are methods used to manipulate
and analyze graphs, solving various problems
like finding the shortest path or detecting
cycles.
Types of Graphs
● Directed Graphs (Digraphs)
● Undirected Graphs
● Weighted Graphs
● Tree is considered special type of graphs
Applications on
Graphs
Graphs are used to represent
networks
Social media platforms such as
Facebook uses Undirected
Graphs to represent
connections like friendships.
On the other hand instagram
uses Directed Graphs to
represent following.
Map
Map is a data structure that stores a collection
of key-value pairs, where each key is
associated with a single value.
it allows for efficient and fast lookups, inserts,
and deletes.
Types of Maps
● HashMap
● Linked Hash Map
● Tree Map
Thank you!
Any Questions?
Basheer Almomani
Backend software engineer
basheer.almomani94@gmail.com
Ad

More Related Content

Similar to common Data structure algorithms and application (20)

Data Structures
Data StructuresData Structures
Data Structures
hmwwfv1
 
09c-DataStructuresListsArrays (1).p with all informationpt
09c-DataStructuresListsArrays (1).p with all informationpt09c-DataStructuresListsArrays (1).p with all informationpt
09c-DataStructuresListsArrays (1).p with all informationpt
kodakkodak220
 
09c-DataStructuresListsArrays.ppt
09c-DataStructuresListsArrays.ppt09c-DataStructuresListsArrays.ppt
09c-DataStructuresListsArrays.ppt
MeenakshiPatel13
 
PPT_DATA STRUCTURE.ppt
PPT_DATA STRUCTURE.pptPPT_DATA STRUCTURE.ppt
PPT_DATA STRUCTURE.ppt
YAZATMishra
 
DS Module 1.pptx
DS Module 1.pptxDS Module 1.pptx
DS Module 1.pptx
sarala9
 
DATA STRUCTURE AND ALGORITHMS
DATA STRUCTURE AND ALGORITHMS DATA STRUCTURE AND ALGORITHMS
DATA STRUCTURE AND ALGORITHMS
removed_8057d320f6c8601c14a895598b86eacb
 
data structure and algorithms arrayby anay.pptx
data structure and algorithms arrayby anay.pptxdata structure and algorithms arrayby anay.pptx
data structure and algorithms arrayby anay.pptx
gamtai07
 
Data Structure and Algorithms (DSA).pptx
Data Structure and Algorithms (DSA).pptxData Structure and Algorithms (DSA).pptx
Data Structure and Algorithms (DSA).pptx
saxenagarima2007
 
DS Module 1.pptx
DS Module 1.pptxDS Module 1.pptx
DS Module 1.pptx
SaralaT3
 
Data structure (basics)
Data structure (basics)Data structure (basics)
Data structure (basics)
ShrushtiGole
 
Unit.1 Introduction to Data Structuresres
Unit.1 Introduction to Data StructuresresUnit.1 Introduction to Data Structuresres
Unit.1 Introduction to Data Structuresres
amplopsurat
 
Ch1
Ch1Ch1
Ch1
OmarFarukh3
 
Datastructures Notes
Datastructures NotesDatastructures Notes
Datastructures Notes
Ranjithkumar C
 
UNIT II.docx
UNIT II.docxUNIT II.docx
UNIT II.docx
Revathiparamanathan
 
Presentations, Documents, Infographics, and more
Presentations, Documents, Infographics, and morePresentations, Documents, Infographics, and more
Presentations, Documents, Infographics, and more
KwadjoOwusuAnsahQuar
 
Data structure
Data structureData structure
Data structure
Prof. Dr. K. Adisesha
 
Data Structure 1..Vary Basic introduction about DSA using c++.pptx
Data Structure 1..Vary Basic introduction  about DSA using c++.pptxData Structure 1..Vary Basic introduction  about DSA using c++.pptx
Data Structure 1..Vary Basic introduction about DSA using c++.pptx
vbthakur01
 
Circular Linked List.pptx
Circular Linked List.pptxCircular Linked List.pptx
Circular Linked List.pptx
kasthurimukila
 
Data structure & algorithms introduction
Data structure & algorithms introductionData structure & algorithms introduction
Data structure & algorithms introduction
Sugandh Wafai
 
Data_structure.pptx
Data_structure.pptxData_structure.pptx
Data_structure.pptx
priya415376
 
Data Structures
Data StructuresData Structures
Data Structures
hmwwfv1
 
09c-DataStructuresListsArrays (1).p with all informationpt
09c-DataStructuresListsArrays (1).p with all informationpt09c-DataStructuresListsArrays (1).p with all informationpt
09c-DataStructuresListsArrays (1).p with all informationpt
kodakkodak220
 
09c-DataStructuresListsArrays.ppt
09c-DataStructuresListsArrays.ppt09c-DataStructuresListsArrays.ppt
09c-DataStructuresListsArrays.ppt
MeenakshiPatel13
 
PPT_DATA STRUCTURE.ppt
PPT_DATA STRUCTURE.pptPPT_DATA STRUCTURE.ppt
PPT_DATA STRUCTURE.ppt
YAZATMishra
 
DS Module 1.pptx
DS Module 1.pptxDS Module 1.pptx
DS Module 1.pptx
sarala9
 
data structure and algorithms arrayby anay.pptx
data structure and algorithms arrayby anay.pptxdata structure and algorithms arrayby anay.pptx
data structure and algorithms arrayby anay.pptx
gamtai07
 
Data Structure and Algorithms (DSA).pptx
Data Structure and Algorithms (DSA).pptxData Structure and Algorithms (DSA).pptx
Data Structure and Algorithms (DSA).pptx
saxenagarima2007
 
DS Module 1.pptx
DS Module 1.pptxDS Module 1.pptx
DS Module 1.pptx
SaralaT3
 
Data structure (basics)
Data structure (basics)Data structure (basics)
Data structure (basics)
ShrushtiGole
 
Unit.1 Introduction to Data Structuresres
Unit.1 Introduction to Data StructuresresUnit.1 Introduction to Data Structuresres
Unit.1 Introduction to Data Structuresres
amplopsurat
 
Presentations, Documents, Infographics, and more
Presentations, Documents, Infographics, and morePresentations, Documents, Infographics, and more
Presentations, Documents, Infographics, and more
KwadjoOwusuAnsahQuar
 
Data Structure 1..Vary Basic introduction about DSA using c++.pptx
Data Structure 1..Vary Basic introduction  about DSA using c++.pptxData Structure 1..Vary Basic introduction  about DSA using c++.pptx
Data Structure 1..Vary Basic introduction about DSA using c++.pptx
vbthakur01
 
Circular Linked List.pptx
Circular Linked List.pptxCircular Linked List.pptx
Circular Linked List.pptx
kasthurimukila
 
Data structure & algorithms introduction
Data structure & algorithms introductionData structure & algorithms introduction
Data structure & algorithms introduction
Sugandh Wafai
 
Data_structure.pptx
Data_structure.pptxData_structure.pptx
Data_structure.pptx
priya415376
 

Recently uploaded (20)

Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025
mu394968
 
Ai Development Company - Telepathy Infotech
Ai Development Company - Telepathy InfotechAi Development Company - Telepathy Infotech
Ai Development Company - Telepathy Infotech
Telepathy
 
WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)
sh607827
 
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdfMicrosoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
TechSoup
 
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
AxisTechnolabs
 
ML-Topic1A.ppteeweqeqeqeqeqeqwewqqwwqeeqeqw
ML-Topic1A.ppteeweqeqeqeqeqeqwewqqwwqeeqeqwML-Topic1A.ppteeweqeqeqeqeqeqwewqqwwqeeqeqw
ML-Topic1A.ppteeweqeqeqeqeqeqwewqqwwqeeqeqw
YumnaShahzaad
 
How to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud PerformanceHow to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud Performance
ThousandEyes
 
Automation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath CertificateAutomation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath Certificate
VICTOR MAESTRE RAMIREZ
 
Requirements in Engineering AI- Enabled Systems: Open Problems and Safe AI Sy...
Requirements in Engineering AI- Enabled Systems: Open Problems and Safe AI Sy...Requirements in Engineering AI- Enabled Systems: Open Problems and Safe AI Sy...
Requirements in Engineering AI- Enabled Systems: Open Problems and Safe AI Sy...
Lionel Briand
 
Cryptocurrency Exchange Script like Binance.pptx
Cryptocurrency Exchange Script like Binance.pptxCryptocurrency Exchange Script like Binance.pptx
Cryptocurrency Exchange Script like Binance.pptx
riyageorge2024
 
Change Management Models and Tools for Organizational Transformation
Change Management Models and Tools for Organizational TransformationChange Management Models and Tools for Organizational Transformation
Change Management Models and Tools for Organizational Transformation
EHA Soft Solutions
 
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Eric D. Schabell
 
Navigating EAA Compliance in Testing.pdf
Navigating EAA Compliance in Testing.pdfNavigating EAA Compliance in Testing.pdf
Navigating EAA Compliance in Testing.pdf
Applitools
 
How to avoid IT Asset Management mistakes during implementation_PDF.pdf
How to avoid IT Asset Management mistakes during implementation_PDF.pdfHow to avoid IT Asset Management mistakes during implementation_PDF.pdf
How to avoid IT Asset Management mistakes during implementation_PDF.pdf
victordsane
 
Microsoft Excel Core Points Training.pptx
Microsoft Excel Core Points Training.pptxMicrosoft Excel Core Points Training.pptx
Microsoft Excel Core Points Training.pptx
Mekonnen
 
How To Develop A Cryptocurrency Exchange - Slideshare.pptx
How To Develop A Cryptocurrency Exchange - Slideshare.pptxHow To Develop A Cryptocurrency Exchange - Slideshare.pptx
How To Develop A Cryptocurrency Exchange - Slideshare.pptx
laravinson24
 
Secure Test Infrastructure: The Backbone of Trustworthy Software Development
Secure Test Infrastructure: The Backbone of Trustworthy Software DevelopmentSecure Test Infrastructure: The Backbone of Trustworthy Software Development
Secure Test Infrastructure: The Backbone of Trustworthy Software Development
Shubham Joshi
 
Innovative Approaches to Software Dev no good at all
Innovative Approaches to Software Dev no good at allInnovative Approaches to Software Dev no good at all
Innovative Approaches to Software Dev no good at all
ayeshakanwal75
 
Landscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature ReviewLandscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature Review
Hironori Washizaki
 
Full Cracked Resolume Arena Latest Version
Full Cracked Resolume Arena Latest VersionFull Cracked Resolume Arena Latest Version
Full Cracked Resolume Arena Latest Version
jonesmichealj2
 
Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025
mu394968
 
Ai Development Company - Telepathy Infotech
Ai Development Company - Telepathy InfotechAi Development Company - Telepathy Infotech
Ai Development Company - Telepathy Infotech
Telepathy
 
WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)WinRAR Crack for Windows (100% Working 2025)
WinRAR Crack for Windows (100% Working 2025)
sh607827
 
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdfMicrosoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
Microsoft AI Nonprofit Use Cases and Live Demo_2025.04.30.pdf
TechSoup
 
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
AxisTechnolabs
 
ML-Topic1A.ppteeweqeqeqeqeqeqwewqqwwqeeqeqw
ML-Topic1A.ppteeweqeqeqeqeqeqwewqqwwqeeqeqwML-Topic1A.ppteeweqeqeqeqeqeqwewqqwwqeeqeqw
ML-Topic1A.ppteeweqeqeqeqeqeqwewqqwwqeeqeqw
YumnaShahzaad
 
How to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud PerformanceHow to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud Performance
ThousandEyes
 
Automation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath CertificateAutomation Techniques in RPA - UiPath Certificate
Automation Techniques in RPA - UiPath Certificate
VICTOR MAESTRE RAMIREZ
 
Requirements in Engineering AI- Enabled Systems: Open Problems and Safe AI Sy...
Requirements in Engineering AI- Enabled Systems: Open Problems and Safe AI Sy...Requirements in Engineering AI- Enabled Systems: Open Problems and Safe AI Sy...
Requirements in Engineering AI- Enabled Systems: Open Problems and Safe AI Sy...
Lionel Briand
 
Cryptocurrency Exchange Script like Binance.pptx
Cryptocurrency Exchange Script like Binance.pptxCryptocurrency Exchange Script like Binance.pptx
Cryptocurrency Exchange Script like Binance.pptx
riyageorge2024
 
Change Management Models and Tools for Organizational Transformation
Change Management Models and Tools for Organizational TransformationChange Management Models and Tools for Organizational Transformation
Change Management Models and Tools for Organizational Transformation
EHA Soft Solutions
 
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Mastering Fluent Bit: Ultimate Guide to Integrating Telemetry Pipelines with ...
Eric D. Schabell
 
Navigating EAA Compliance in Testing.pdf
Navigating EAA Compliance in Testing.pdfNavigating EAA Compliance in Testing.pdf
Navigating EAA Compliance in Testing.pdf
Applitools
 
How to avoid IT Asset Management mistakes during implementation_PDF.pdf
How to avoid IT Asset Management mistakes during implementation_PDF.pdfHow to avoid IT Asset Management mistakes during implementation_PDF.pdf
How to avoid IT Asset Management mistakes during implementation_PDF.pdf
victordsane
 
Microsoft Excel Core Points Training.pptx
Microsoft Excel Core Points Training.pptxMicrosoft Excel Core Points Training.pptx
Microsoft Excel Core Points Training.pptx
Mekonnen
 
How To Develop A Cryptocurrency Exchange - Slideshare.pptx
How To Develop A Cryptocurrency Exchange - Slideshare.pptxHow To Develop A Cryptocurrency Exchange - Slideshare.pptx
How To Develop A Cryptocurrency Exchange - Slideshare.pptx
laravinson24
 
Secure Test Infrastructure: The Backbone of Trustworthy Software Development
Secure Test Infrastructure: The Backbone of Trustworthy Software DevelopmentSecure Test Infrastructure: The Backbone of Trustworthy Software Development
Secure Test Infrastructure: The Backbone of Trustworthy Software Development
Shubham Joshi
 
Innovative Approaches to Software Dev no good at all
Innovative Approaches to Software Dev no good at allInnovative Approaches to Software Dev no good at all
Innovative Approaches to Software Dev no good at all
ayeshakanwal75
 
Landscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature ReviewLandscape of Requirements Engineering for/by AI through Literature Review
Landscape of Requirements Engineering for/by AI through Literature Review
Hironori Washizaki
 
Full Cracked Resolume Arena Latest Version
Full Cracked Resolume Arena Latest VersionFull Cracked Resolume Arena Latest Version
Full Cracked Resolume Arena Latest Version
jonesmichealj2
 
Ad

common Data structure algorithms and application

  • 2. Ageda Overview Importance of data structures Types of Data Structure - Arrays - Lists - Stack - Queue - Tree - graph
  • 3. Overview when you're using your favorite apps - You make friendship on facebook - You follow influencer on instagram - You get suggestion on google as you type - You can perform redo and undo as you write a document - You order the last item in the inventory while others trying to order it So here we see some DATA (wither we created it or it is already exist ) and we were able to perform OPERATIONS on top of it or get more info from it How all this is possible Very Fast and without problems every time All of this is powered by what so called data structure: its the way we store and organize specific data to perform specific operations efficiently
  • 4. Importance of data structures Data structures provide a way to organize and manage data in such a way that it can be accessed and modified efficiently. The importance of data structures lies in their ability to optimize the performance of algorithms and operations performed on data. They come in different types, like arrays, lists, and trees, each with its own way of arranging data, By choosing the appropriate data structure for a particular problem or application, developers can significantly improve efficiency in terms of time and space complexity. Essentially, understanding and implementing efficient data structures can lead to faster algorithms, reduced resource consumption, and overall better-performing software systems.
  • 5. Types of Data Structure 01 Array, List, Linked List, double linked List 02 Stack and Queue 03 04 Tree (binary, AVL, B) and graph(directed, undirected) Map, Set, Tuple, Heap, Matrix, Victor, etc…
  • 6. Array Arrays are a collection of items stored at contiguous memory locations. Features Simplicity: Easy to understand and implement. Efficiency: Direct access to elements using indices. Limitations Fixed Size: Arrays have a predetermined size allocation is done at compile time. Index does not hold much info: what if you can specify Meaningful name for the item instead index number
  • 7. List List uses array internally to solve the fixed memory allocation, and does reallocation under the hood Not good when you need to do a lot of insertion and deletion from the middle because of the shifting operation Linked List Another variant of lists, it uses pointers internally instead of array, are a sequence of elements where each element points to the next. Suitable when need insertion and deletion from the middle because it just change the pointer
  • 8. Stack This data structure is needed when you want to achieve - Last In, First Out (LIFO) behavior Real-World Example: Imagine a stack of plates The last plate you put on top is the first one you take off. Operations available are: ● Push: Adds an item to the top of the stack. ● Pop: Removes the top item from the stack. Applications: Undo/redo fearure, Memory management, Expression evaluation, etc…
  • 9. Queue This data structure is needed when you want to achieve - First In, First Out (FIFO) behavior Real-World Example: Consider a queue at a ticket counter. The first person in line is the first one to be served. Operations available are: ● Enqueue: Adds an item to the end of the queue. ● Dequeue: Removes the item from the front of the queue. Applications: Job scheduling, Batch Processing, Web servers, etc…
  • 10. Tree Trees are hierarchical data structures consisting of nodes connected by edges. There are many types of tree: the most common ones are: Binary trees: a type of tree in which each node has at most two children Binary Search Trees: type of binary tree where the value of each node's left child is less than the value of the node, and the value of each node's right child is greater. Features: - Efficient Searching: BSTs enable efficient searching, insertion, and deletion operations. - In-order Traversal: Traversing a BST in-order yields elements in sorted order. Problems: sometimes insertion/deletion can lead to
  • 11. Applications on Tree Suggestion as you type Database indexing Organization chart OS File System Web pages (Document Object Model)
  • 12. Graphs Graph Data Structure is a collection of nodes connected by edges. It’s used to represent relationships between different entities. Graph algorithms are methods used to manipulate and analyze graphs, solving various problems like finding the shortest path or detecting cycles. Types of Graphs ● Directed Graphs (Digraphs) ● Undirected Graphs ● Weighted Graphs ● Tree is considered special type of graphs
  • 13. Applications on Graphs Graphs are used to represent networks Social media platforms such as Facebook uses Undirected Graphs to represent connections like friendships. On the other hand instagram uses Directed Graphs to represent following.
  • 14. Map Map is a data structure that stores a collection of key-value pairs, where each key is associated with a single value. it allows for efficient and fast lookups, inserts, and deletes. Types of Maps ● HashMap ● Linked Hash Map ● Tree Map
  • 15. Thank you! Any Questions? Basheer Almomani Backend software engineer [email protected]

Editor's Notes

  • #3: so you know when you're using your favorite apps and everything just seems to work smoothly? Like when you're on Facebook and instantly connect with friends, or on Instagram following your favorite influencers hassle-free? Well, that's all thanks to something called data structures. Think of data structures as the secret sauce behind the scenes. They're like the organized drawers in your desk where you keep different things. When you want to find something quickly, you know exactly which drawer to open. So, when you're scrolling through Google and it's predicting what you're searching for before you even finish typing, or when you're writing a document and can undo or redo your changes effortlessly, it's because the data you're working with is neatly organized and ready to be used at lightning speed.