SlideShare a Scribd company logo
Data Structure
What is Computer Science:
Computer science deals with solving a problem correctly in the form of
Algorithm which then can be converted into a program
Problem → Solution (Algorithm) →Program (Efficient)
To write an efficient program we need knowledge of both, data structure and
algorithms.
ALGORITHM + DATA STRUCTURE = PROGRAM
Why we study data structure
• Objective is to teach you how to code efficiently
• What is meaning of efficiency (time, space, battery, system buses, registers)
What is Data Structure:
A data structure is a storage that is used to store and organize data. It
is a way of arranging data on a computer so that it can be accessed and
updated efficiently.
Data Structure 1..Vary Basic introduction  about DSA using c++.pptx
Classification of Data
There are many different data structures. Data structures have
their characteristics, features, applications, advantages,
and disadvantages.
non
Graph
Stack
Tree
Link List
Different data structures
Linear data structure: Data structure in which data elements are arranged sequentially or
linearly.
Examples:- array, stack, queue, linked list, etc.
Non-linear data structure: where data elements are not placed sequentially are called
non-linear data structures. In a non-linear data structure, we can’t traverse all the elements
in a single run only. Examples of non-linear data structures are trees and graphs.
Linear Data Structure types
• Static data structure: Static data structure has a fixed memory size. An
example of this data structure is an array.
• Dynamic data structure: In the dynamic data structure, the size is not
fixed. It can be randomly updated during the runtime. Examples of this data
structure are link list.
Operations on different Data Structure:
• Traversing
• Insertion
• Deletion
• Update
• Searching
• Sort
Operations on different Data Structure:
Traversing: Traversing a Data Structure means to visit the element
stored in it.
Operations on different Data Structure:
Insertion: Insertion means to add an element in the given data structure.
Operations on different Data Structure:
Deletion: Deletion means to delete an element in the given data
structure.
Operations on different Data Structure:
Update : It updates the data in the data structure.
Operations on different Data Structure:
Searching: Searching means to find a particular element in the given
data-structure.
Operations on different Data Structure:
Sort: Sorting data in a particular order (ascending or descending).

More Related Content

PDF
Unit.1 Introduction to Data Structuresres
PDF
Data Structure Ppt for our engineering college industrial training.
PPTX
ntroduction of Algorithms, Analysing Algorithms. Arrays: Sparse Matrices - Re...
PPT
Lect 1-2 Zaheer Abbas
PPTX
DataStructurePpt-01.pptxEngineering data structure notes
PPT
Lect 1-2
PPTX
DataStructureccvdgddfffdesddsssdssPpt.pptx
PPTX
Unit-1 DataStructure Intro.pptx
Unit.1 Introduction to Data Structuresres
Data Structure Ppt for our engineering college industrial training.
ntroduction of Algorithms, Analysing Algorithms. Arrays: Sparse Matrices - Re...
Lect 1-2 Zaheer Abbas
DataStructurePpt-01.pptxEngineering data structure notes
Lect 1-2
DataStructureccvdgddfffdesddsssdssPpt.pptx
Unit-1 DataStructure Intro.pptx

Similar to Data Structure 1..Vary Basic introduction about DSA using c++.pptx (20)

PPTX
dsa.pptx
PPTX
DataStructurePpt.pptx
PPTX
DataStructurePpt.pptx
PPTX
Data Structure Introduction chapter 1
PDF
3130703dsgtudarshan Enotesallunits Darshan Institute Of Engineering Technology
PPTX
Data structure
PPTX
Introduction to data structures (ss)
PPTX
Introduction to Data Structures
PDF
Datastructures Notes
PPTX
Data Structure and Algorithms (DSA).pptx
PPTX
Introduction to Data Structures
PPTX
Different types of sorting used in programming.pptx
PDF
Data Structure Introduction.pdfssssssssssss
PDF
Data structures introduction
PPTX
S. Chakraborty (DS).pptxkmmmmkwmmqm BNN n
PPTX
Data structure ppt omamammama jammwal2222
PPTX
DSA Ch1(Introduction) [Recovered].pptx
PPTX
Data structure (basics)
PPTX
Introduction to Data Structure
PPTX
Chapter 1 _edited.pptx.software engineering
dsa.pptx
DataStructurePpt.pptx
DataStructurePpt.pptx
Data Structure Introduction chapter 1
3130703dsgtudarshan Enotesallunits Darshan Institute Of Engineering Technology
Data structure
Introduction to data structures (ss)
Introduction to Data Structures
Datastructures Notes
Data Structure and Algorithms (DSA).pptx
Introduction to Data Structures
Different types of sorting used in programming.pptx
Data Structure Introduction.pdfssssssssssss
Data structures introduction
S. Chakraborty (DS).pptxkmmmmkwmmqm BNN n
Data structure ppt omamammama jammwal2222
DSA Ch1(Introduction) [Recovered].pptx
Data structure (basics)
Introduction to Data Structure
Chapter 1 _edited.pptx.software engineering
Ad

Recently uploaded (20)

PPTX
web development for engineering and engineering
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
additive manufacturing of ss316l using mig welding
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
Welding lecture in detail for understanding
PPTX
Sustainable Sites - Green Building Construction
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
Geodesy 1.pptx...............................................
PPT
Mechanical Engineering MATERIALS Selection
PPTX
OOP with Java - Java Introduction (Basics)
PDF
Digital Logic Computer Design lecture notes
web development for engineering and engineering
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
additive manufacturing of ss316l using mig welding
R24 SURVEYING LAB MANUAL for civil enggi
Welding lecture in detail for understanding
Sustainable Sites - Green Building Construction
CH1 Production IntroductoryConcepts.pptx
bas. eng. economics group 4 presentation 1.pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Model Code of Practice - Construction Work - 21102022 .pdf
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Lecture Notes Electrical Wiring System Components
Geodesy 1.pptx...............................................
Mechanical Engineering MATERIALS Selection
OOP with Java - Java Introduction (Basics)
Digital Logic Computer Design lecture notes
Ad

Data Structure 1..Vary Basic introduction about DSA using c++.pptx

  • 2. What is Computer Science: Computer science deals with solving a problem correctly in the form of Algorithm which then can be converted into a program Problem → Solution (Algorithm) →Program (Efficient)
  • 3. To write an efficient program we need knowledge of both, data structure and algorithms. ALGORITHM + DATA STRUCTURE = PROGRAM
  • 4. Why we study data structure • Objective is to teach you how to code efficiently • What is meaning of efficiency (time, space, battery, system buses, registers)
  • 5. What is Data Structure: A data structure is a storage that is used to store and organize data. It is a way of arranging data on a computer so that it can be accessed and updated efficiently.
  • 7. Classification of Data There are many different data structures. Data structures have their characteristics, features, applications, advantages, and disadvantages. non
  • 9. Linear data structure: Data structure in which data elements are arranged sequentially or linearly. Examples:- array, stack, queue, linked list, etc. Non-linear data structure: where data elements are not placed sequentially are called non-linear data structures. In a non-linear data structure, we can’t traverse all the elements in a single run only. Examples of non-linear data structures are trees and graphs.
  • 10. Linear Data Structure types • Static data structure: Static data structure has a fixed memory size. An example of this data structure is an array. • Dynamic data structure: In the dynamic data structure, the size is not fixed. It can be randomly updated during the runtime. Examples of this data structure are link list.
  • 11. Operations on different Data Structure: • Traversing • Insertion • Deletion • Update • Searching • Sort
  • 12. Operations on different Data Structure: Traversing: Traversing a Data Structure means to visit the element stored in it.
  • 13. Operations on different Data Structure: Insertion: Insertion means to add an element in the given data structure.
  • 14. Operations on different Data Structure: Deletion: Deletion means to delete an element in the given data structure.
  • 15. Operations on different Data Structure: Update : It updates the data in the data structure.
  • 16. Operations on different Data Structure: Searching: Searching means to find a particular element in the given data-structure.
  • 17. Operations on different Data Structure: Sort: Sorting data in a particular order (ascending or descending).

Editor's Notes

  • #5: Better time is obtained from the use of appropriate data structure. Rather than removing few line lines of clever coding.
  • #10: where each element is attached to its previous and next adjacent elements, is called a linear data structure.
  • #11: which may be considered efficient concerning the memory (space) complexity of the code.