Lecture 01 - Introduction
Lecture 01 - Introduction
ITEC 2620
Introduction to
Data Structures
Khairul Bashar
School of Information Technology
York University, Toronto.
It is a format for arranging, processing,
accessing and storing a collection of data in a
storage device.
Popular Stack
Data Queue
Structures Tree
Graph
And many more
• Analyze your problem to determine the basic
operations that must be supported.
Selecting a Examples of basic operations include
Data inserting a data item into the data structure,
deleting a data item from the data structure,
Structure to and finding a specified data item.
solve a • Quantify the resource constraints for each
operation.
problem • Select the data structure that best meets
these requirements.
• Storage Space
• Execution Time
• Programming effort
Array vs ArrayList
Classification
Classification
• Dynamic Resizing
• Ordered
• Index Based
• Object based only
• Not synchronized / not thread safe
• Quicker random access
• Insertion and Deletion can take longer time
• Searching an element can take longer time
That’s all for Today!
Thank you