Presentation 1
Presentation 1
AND ALGORITHMS
01 What is Data Structure
02 What is Algorithms
03 Linear vs Non-Linear
07 C++ Queue
Overview
DATA
It is a collection of numbers, symbols, or
characters.
INFORMATION
An organized collection of data that is arranged
meaningfully.
Data Structure
It is a data organization, management, and storage
format that enables efficient access and modification.
Array/Collections
• A data structure that contains a group of values/variables can be
accessed by using an index.
algorithm flow
• INPUT - Needed Values
• PROCESS - Operations
• OUTPUT - Result
Real World Algorithm
Algorithm of Cooking Pancit Canton
1.Boil Water
2.Put Noodles in the Boiling Water.
3.Prepare the Sauce on a Plate.
4.Drain the Boiling Water
5.Put the Noodles in The Sauce
6.Stir until the Noodles is covered with the
Sauce
7.Serve Pancit Canton
PROGRAMMING ALGORITHM
Create an Algorithm that Adds Two Numbers
PROGRAMMING
IMPLEMENTATION
Create an Algorithm that Adds Two Numbers
ALGORITHMS and DATA
STRUCTURE
Data Structures are sets of algorithms that organize data in
a certain way.
ALGORITHMS COMPLEXITY
An Algorithm's Performance is measured by
• Time Complexity
Represents the amount of time the algorithm needs for it to
be completed.
• Space Complexity
Represents the amount of memory needed for the
algorithm in its process.
SPACE COMPLEXITY
There are plenty of factors to consider in Space Complexity.
• Instruction Space
The size of a program's executable file varies depending on the number of
lines of code.
• Data Space
The size required to store variables and constants.
• Environment Space
The size required to store environment information to resume a function.
Timmerman Industries
Thank You
02 May, 2024