SlideShare a Scribd company logo
1 of 12
Data Structure:
Operations
04/12/2020Dincy R Arikkat,Christ college Irinjalakkuda
1
04/12/2020Dincy R Arikkat,Christ college Irinjalakkuda
2
Characteristics
• Correctness − Data structure implementation should implement its interface
correctly.
• Time Complexity − Running time or the execution time of operations of data
structure must be as small as possible.
• Space Complexity − Memory usage of a data structure operation should be as
little as possible.
• Rules: Set of rules to implement operations
04/12/2020Dincy R Arikkat,Christ college Irinjalakkuda
3
Operations
04/12/2020Dincy R Arikkat,Christ college Irinjalakkuda
4
• Traversing
• Searching
• Insertion
• Deletion
• Sorting
• Merging
Traversing
04/12/2020Dincy R Arikkat,Christ college Irinjalakkuda
5
• It means to access each data item exactly once so that it can be processed.
• Example-to print the names of allthe students in a class
Searching
04/12/2020Dincy R Arikkat,Christ college Irinjalakkuda
6
• Finding the location of a particular data item with given value or finding the
location of allthe records which satisfies one or more conditions
• Example-to find the names of allthe students who secured 100 marks in
data structures
Insertion
04/12/2020Dincy R Arikkat,Christ college Irinjalakkuda
7
• It is used to add new data items to the given list of data items.
• Example-To add the details of a new students,who has recently joined
Deletion
04/12/2020Dincy R Arikkat,Christ college Irinjalakkuda
8
• It means to remove or delete a particular data from the given collection of
data items
• Example –to delete name of a student who has left the course
Sorting
04/12/2020Dincy R Arikkat,Christ college Irinjalakkuda
9
• Data items can be arranged in some order like ascending order or descending
order depending on type of application
• Arranging the names of students in a class in alphabetic order
Merging
04/12/2020Dincy R Arikkat,Christ college Irinjalakkuda
10
• Combining the list of two files of sorted data items into a single sorted file
Applications of Data Structure
04/12/2020Dincy R Arikkat,Christ college Irinjalakkuda
11
• Compiler Design
• Operating System
• DBMS
• Artificial Intelligence
• Computer Networks
Thank You
04/12/2020Dincy R Arikkat,Christ college Irinjalakkuda
12

More Related Content

Similar to Data structure operations

An Empirical Study of the Applications of Classification Techniques in Studen...
An Empirical Study of the Applications of Classification Techniques in Studen...An Empirical Study of the Applications of Classification Techniques in Studen...
An Empirical Study of the Applications of Classification Techniques in Studen...
IJERA Editor
 

Similar to Data structure operations (6)

Data structures categories of ds
Data structures categories of dsData structures categories of ds
Data structures categories of ds
 
Plan-Do-Study-Adjust: A Deep Dive
Plan-Do-Study-Adjust: A Deep DivePlan-Do-Study-Adjust: A Deep Dive
Plan-Do-Study-Adjust: A Deep Dive
 
dbms-1.pptx
dbms-1.pptxdbms-1.pptx
dbms-1.pptx
 
Data Science Course in Noida
Data Science Course in NoidaData Science Course in Noida
Data Science Course in Noida
 
An Empirical Study of the Applications of Classification Techniques in Studen...
An Empirical Study of the Applications of Classification Techniques in Studen...An Empirical Study of the Applications of Classification Techniques in Studen...
An Empirical Study of the Applications of Classification Techniques in Studen...
 
Building the Enterprise Data Lake - Important Considerations Before You Jump In
Building the Enterprise Data Lake - Important Considerations Before You Jump InBuilding the Enterprise Data Lake - Important Considerations Before You Jump In
Building the Enterprise Data Lake - Important Considerations Before You Jump In
 

Recently uploaded

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 

Recently uploaded (20)

Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 

Data structure operations

  • 1. Data Structure: Operations 04/12/2020Dincy R Arikkat,Christ college Irinjalakkuda 1
  • 2. 04/12/2020Dincy R Arikkat,Christ college Irinjalakkuda 2
  • 3. Characteristics • Correctness − Data structure implementation should implement its interface correctly. • Time Complexity − Running time or the execution time of operations of data structure must be as small as possible. • Space Complexity − Memory usage of a data structure operation should be as little as possible. • Rules: Set of rules to implement operations 04/12/2020Dincy R Arikkat,Christ college Irinjalakkuda 3
  • 4. Operations 04/12/2020Dincy R Arikkat,Christ college Irinjalakkuda 4 • Traversing • Searching • Insertion • Deletion • Sorting • Merging
  • 5. Traversing 04/12/2020Dincy R Arikkat,Christ college Irinjalakkuda 5 • It means to access each data item exactly once so that it can be processed. • Example-to print the names of allthe students in a class
  • 6. Searching 04/12/2020Dincy R Arikkat,Christ college Irinjalakkuda 6 • Finding the location of a particular data item with given value or finding the location of allthe records which satisfies one or more conditions • Example-to find the names of allthe students who secured 100 marks in data structures
  • 7. Insertion 04/12/2020Dincy R Arikkat,Christ college Irinjalakkuda 7 • It is used to add new data items to the given list of data items. • Example-To add the details of a new students,who has recently joined
  • 8. Deletion 04/12/2020Dincy R Arikkat,Christ college Irinjalakkuda 8 • It means to remove or delete a particular data from the given collection of data items • Example –to delete name of a student who has left the course
  • 9. Sorting 04/12/2020Dincy R Arikkat,Christ college Irinjalakkuda 9 • Data items can be arranged in some order like ascending order or descending order depending on type of application • Arranging the names of students in a class in alphabetic order
  • 10. Merging 04/12/2020Dincy R Arikkat,Christ college Irinjalakkuda 10 • Combining the list of two files of sorted data items into a single sorted file
  • 11. Applications of Data Structure 04/12/2020Dincy R Arikkat,Christ college Irinjalakkuda 11 • Compiler Design • Operating System • DBMS • Artificial Intelligence • Computer Networks
  • 12. Thank You 04/12/2020Dincy R Arikkat,Christ college Irinjalakkuda 12