Professional Documents
Culture Documents
ELEE28706D-Introduction S1
ELEE28706D-Introduction S1
ELEE28706D-Introduction S1
2
Getting to know each other
3
DREAM
GO FOR IT.
Challenged!
NEVER GIVE UP
Face it.
Tips!
We will explore:
But, in conclusion:
Courtesy: Douglas@uwaterloo
ELEE28706D Algorithms and Data Structures
Courtesy: Douglas@uwaterloo
ELEE28706D Algorithms and Data Structures
Courtesy: Douglas@uwaterloo
Data & Algorithms
Data and Data item:
➢ It is a value or set of values. 7,5, Harry etc.,
➢ Data item refers to a single unit (item) of those data.
Data items are generally organized in a hierarchical way (fields,
records, files etc.,)
Entity:
Something distinct with some properties and having values
(Numeric/Non-numeric).
In java:
Primitive: int, float, char, double, boolean etc.,
Non-primitive: Data types (class, object, array, string, and interface) that
are not defined by the programming language but are created by the
programmer.
Data & Algorithms
Data Structure:
➢ A particular way to organize data so that a set of specific operations
can be performed.
➢ Schemes for organizing data that leave them amenable
(manageable) to efficient processing by an algorithm.
Governed by:
➢ It must mimic the real world data
➢ Must be amenable to efficient data processing.
Data & Algorithms
Data Structure:
Logical data representation that specifies:
➢ Traversal
➢ Insertion
➢ Deletion
➢ Searching
➢ Sorting
➢ Merging
➢ Representation of data
Courtesy: scanftree
Data & Algorithms
Algorithms:
Algorithm:
A sequence of steps that is unambiguous,
executable, and terminating is called an
algorithm. The existence of an algorithm is an
essential prerequisite for programming a task.
Data & Algorithms
Famous Algorithms:
Programming:
Programming:
1. DouglasWilhelmHarder@uwaterloo
2. Algs4.cs@princeton