SlideShare a Scribd company logo
9
Most read
Definition
• A Data structure consists of data objects, their properties are the set of legal
operations which may be applied to elements of the data object.
• A data structure is a set of domain D, a designated domain d € D, a set of functions F and a set of
axioms A . the triple (D, F, A) denotes the data structure.
D - denotes the data objects.
F - denotes the set of operations that can be carried out on the data objects.
A - describes the properties and rules of the operations.
OR
Need of Data Structure
• The data elements that are concerned with the problem.
• The operations that will be performed on these data elements.
• Methods of storing the data elements in memory to retain the logical relationship
between them.
• The programming language which suits the current requirements.
Abstract Data Types
• The abstract datatype is special kind of datatype, whose behavior is defined by a set of values
and set of operations.
• The keyword “Abstract” is used as we can use these datatypes, we can perform different
operations.
• Programmer's own data types is termed as Abstract Data Type.
OR
Advantage
• Code is easier to understand (e.g., it is easier to see "high-level" steps being
performed, not obscured by low-level code).
• Implementations of ADTs can be changed (e.g., for efficiency) without requiring
changes to the program that uses the ADTs.
• ADTs can be reused in future programs.
Types of Data Structure
Operation Perform of Data Structure
• Insertion: Insertion means addition of a new data element in a data structure.
• Deletion: Deletion means removal of a data element from a data structure if it is found.
• Searching: Searching involves searching for the specified data element in a data structure.
• Traversal: Traversal of a data structure means processing all the data elements present in it.
• Sorting: Arranging data elements of a data structure in a specified order is called sorting.
• Merging: Combining elements of two similar data structures to form a new data structure of the
same type, is called merging.
Algorithm
• The word Algorithm means “a process or set of rules to be followed in calculations or other
problem-solving operations”.
• Therefore Algorithm refers to a set of rules/instructions that step-by-step define how a work is to
be executed upon in order to get the expected results.
• An algorithm is a finite set of instructions that must be followed to solve a problem.
OR
Advantage
• It is a step-wise representation of a solution to a given problem, which makes it easy to understand.
• An algorithm uses a definite procedure.
• It is not dependent on any programming language, so it is easy to understand for anyone even without
programming knowledge.
• Every step in an algorithm has its own logical sequence so it is easy to debug.
• By using algorithm, the problem is broken down into smaller pieces or steps hence, it is easier for
programmer to convert it into an actual program.
Analysis of Algorithm
Time Complexity
Space Complexity
Space complexity is the amount of memory it require for completion of an algorithm.
Time complexity is the amount of frequency count.
Algorithm analysis is an important part of computational complexity theory, which provides
theoretical estimation for the required resources of an algorithm to solve a specific computational
problem.
Most algorithms are designed to work with inputs of arbitrary length. Analysis of algorithms is the
determination of the amount of time and space resources required to execute it.
Best Case
Average Case
Worst Case
Minimum time required for algorithm.
Average time required for algorithm.
Maximum time required for algorithm.

More Related Content

PPTX
sorting and its types
PPT
One Dimensional Array
PPT
Queue data structure
PPT
Binary tree
PPT
Files in c++ ppt
PPTX
Abstract Data Types
PPTX
Introduction to Pseudocode
PPTX
Structures in c language
sorting and its types
One Dimensional Array
Queue data structure
Binary tree
Files in c++ ppt
Abstract Data Types
Introduction to Pseudocode
Structures in c language

What's hot (20)

PPT
1.1 binary tree
PPTX
Stack organization
PDF
Linked List, Types of Linked LIst, Various Operations, Applications of Linked...
PPTX
Presentation on Relational Schema (Database)
PPTX
Array and string
PPTX
Language processor
PPT
Data members and member functions
PPTX
Algorithm
PPTX
Linked list
PPTX
Two dimensional arrays
PPTX
Computer architecture and organization
PDF
Lecture: Automata
PPTX
Functions in c language
PPTX
PPTX
Data types
PPTX
Manipulators in c++
PDF
Time and Space Complexity
PPTX
single linked list
PPT
Data structures using c
PDF
Character Array and String
1.1 binary tree
Stack organization
Linked List, Types of Linked LIst, Various Operations, Applications of Linked...
Presentation on Relational Schema (Database)
Array and string
Language processor
Data members and member functions
Algorithm
Linked list
Two dimensional arrays
Computer architecture and organization
Lecture: Automata
Functions in c language
Data types
Manipulators in c++
Time and Space Complexity
single linked list
Data structures using c
Character Array and String
Ad

Similar to Basic of Data Structure - Data Structure - Notes (20)

PPTX
Intro to Data Structure & Algorithms
PPTX
Lecture 1 and 2
PDF
Data structures and algorithms Module-1.pdf
PPTX
UNIT 1 Memory ManagementMemory Management.pptx
PPTX
UNIT 1.pptx
PPTX
data structures and its importance
PPTX
ADS Introduction
PDF
U nit i data structure-converted
PPTX
DSD Unit 1 Abstract Data Type data structures design notes.pptx
PPT
assignment character education assignment
PPTX
RAJAT PROJECT.pptx
PPTX
lecture1-2202211144eeeee24444444413.pptx
PPTX
lecture1-220221114413Algorithims and data structures.pptx
PDF
Data Structure Introduction.pdfssssssssssss
PPTX
Algorithms and Data Structures
PPTX
Chapter 1 - Introduction to data structure.pptx
PPTX
CHAPTER-1- Introduction to data structure.pptx
PDF
Unit-I PPT hususi sisooshsgv. Eijeieieooekejj
PPT
Lec1
Intro to Data Structure & Algorithms
Lecture 1 and 2
Data structures and algorithms Module-1.pdf
UNIT 1 Memory ManagementMemory Management.pptx
UNIT 1.pptx
data structures and its importance
ADS Introduction
U nit i data structure-converted
DSD Unit 1 Abstract Data Type data structures design notes.pptx
assignment character education assignment
RAJAT PROJECT.pptx
lecture1-2202211144eeeee24444444413.pptx
lecture1-220221114413Algorithims and data structures.pptx
Data Structure Introduction.pdfssssssssssss
Algorithms and Data Structures
Chapter 1 - Introduction to data structure.pptx
CHAPTER-1- Introduction to data structure.pptx
Unit-I PPT hususi sisooshsgv. Eijeieieooekejj
Lec1
Ad

More from Omprakash Chauhan (19)

PPTX
Introduction to curve
PPTX
Stack - Data Structure - Notes
PPTX
Sorting and Searching - Data Structure - Notes
PPTX
Queue - Data Structure - Notes
PPTX
Polygons - Computer Graphics - Notes
PPTX
Line Drawing Algorithms - Computer Graphics - Notes
PPTX
Basic of computer graphic - Computer Graphic - Notes
PPTX
E-R Diagram of College Management Systems
PPTX
Burglar Alarm Micro Project
PPTX
Simple Calculator Flowchart
PPTX
Full Wave Rectifier (FWR) Microproject
PPTX
A detailed study of guidelines required for presentation skills
DOCX
Fractional-horsepower Motor Report
PPTX
motherboard electronic components and their functions
PPTX
How To Area of irregular shape Using Integration Method.
PPTX
Process of ionization
PPTX
Welcome to the world of ionization
PPTX
PPTX
System of units
Introduction to curve
Stack - Data Structure - Notes
Sorting and Searching - Data Structure - Notes
Queue - Data Structure - Notes
Polygons - Computer Graphics - Notes
Line Drawing Algorithms - Computer Graphics - Notes
Basic of computer graphic - Computer Graphic - Notes
E-R Diagram of College Management Systems
Burglar Alarm Micro Project
Simple Calculator Flowchart
Full Wave Rectifier (FWR) Microproject
A detailed study of guidelines required for presentation skills
Fractional-horsepower Motor Report
motherboard electronic components and their functions
How To Area of irregular shape Using Integration Method.
Process of ionization
Welcome to the world of ionization
System of units

Recently uploaded (20)

PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
additive manufacturing of ss316l using mig welding
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Welding lecture in detail for understanding
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PDF
Well-logging-methods_new................
PPTX
OOP with Java - Java Introduction (Basics)
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
additive manufacturing of ss316l using mig welding
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
bas. eng. economics group 4 presentation 1.pptx
CYBER-CRIMES AND SECURITY A guide to understanding
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Automation-in-Manufacturing-Chapter-Introduction.pdf
Embodied AI: Ushering in the Next Era of Intelligent Systems
Welding lecture in detail for understanding
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Well-logging-methods_new................
OOP with Java - Java Introduction (Basics)
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx

Basic of Data Structure - Data Structure - Notes

  • 1. Definition • A Data structure consists of data objects, their properties are the set of legal operations which may be applied to elements of the data object. • A data structure is a set of domain D, a designated domain d € D, a set of functions F and a set of axioms A . the triple (D, F, A) denotes the data structure. D - denotes the data objects. F - denotes the set of operations that can be carried out on the data objects. A - describes the properties and rules of the operations. OR
  • 2. Need of Data Structure • The data elements that are concerned with the problem. • The operations that will be performed on these data elements. • Methods of storing the data elements in memory to retain the logical relationship between them. • The programming language which suits the current requirements.
  • 3. Abstract Data Types • The abstract datatype is special kind of datatype, whose behavior is defined by a set of values and set of operations. • The keyword “Abstract” is used as we can use these datatypes, we can perform different operations. • Programmer's own data types is termed as Abstract Data Type. OR
  • 4. Advantage • Code is easier to understand (e.g., it is easier to see "high-level" steps being performed, not obscured by low-level code). • Implementations of ADTs can be changed (e.g., for efficiency) without requiring changes to the program that uses the ADTs. • ADTs can be reused in future programs.
  • 5. Types of Data Structure
  • 6. Operation Perform of Data Structure • Insertion: Insertion means addition of a new data element in a data structure. • Deletion: Deletion means removal of a data element from a data structure if it is found. • Searching: Searching involves searching for the specified data element in a data structure. • Traversal: Traversal of a data structure means processing all the data elements present in it. • Sorting: Arranging data elements of a data structure in a specified order is called sorting. • Merging: Combining elements of two similar data structures to form a new data structure of the same type, is called merging.
  • 7. Algorithm • The word Algorithm means “a process or set of rules to be followed in calculations or other problem-solving operations”. • Therefore Algorithm refers to a set of rules/instructions that step-by-step define how a work is to be executed upon in order to get the expected results. • An algorithm is a finite set of instructions that must be followed to solve a problem. OR
  • 8. Advantage • It is a step-wise representation of a solution to a given problem, which makes it easy to understand. • An algorithm uses a definite procedure. • It is not dependent on any programming language, so it is easy to understand for anyone even without programming knowledge. • Every step in an algorithm has its own logical sequence so it is easy to debug. • By using algorithm, the problem is broken down into smaller pieces or steps hence, it is easier for programmer to convert it into an actual program.
  • 9. Analysis of Algorithm Time Complexity Space Complexity Space complexity is the amount of memory it require for completion of an algorithm. Time complexity is the amount of frequency count. Algorithm analysis is an important part of computational complexity theory, which provides theoretical estimation for the required resources of an algorithm to solve a specific computational problem. Most algorithms are designed to work with inputs of arbitrary length. Analysis of algorithms is the determination of the amount of time and space resources required to execute it.
  • 10. Best Case Average Case Worst Case Minimum time required for algorithm. Average time required for algorithm. Maximum time required for algorithm.