Data Structures and Algorithms: Computer Science Department
Data Structures and Algorithms: Computer Science Department
Algorithms
Lecture 1
• Types of data
• Textual: For example, your name (Muhammad)
• Numeric: For example, your ID (090254)
• Audio: For example, your voice
• Video: For example, your voice and picture
• (...)
Linked list
queue
tree stack
• Data Structures
– Physical implementation of an ADT
– data structures used in implementations are provided in a
language (primitive or built-in) or are built from the language
constructs (user-defined)
– Each operation associated with the ADT is implemented by one
or more subroutines in the implementation
• insert/push Data3
• remove/pop Data2
• top Data1
• make empty