Docsity

Data Structures - Data Structures - Lecture Slides, Slides of Data Structures and Algorithms

Partial preview of the text

Download Data Structures - Data Structures - Lecture Slides and more Slides Data Structures and Algorithms in PDF only on Docsity!

Data Structures

Course Objectives

• Introduce you to fundamental and advanced

data structures.

• Discuss different implementations and analyze

algorithm efficiency in terms of time and

memory.

• Expose you to the field of image processing

where data structures could be used to

efficiently solve many practical problems.

  • Analysis of Algorithms
    • Predict how running

time increases as the

size of the problem

increases.

  • Should be independent

of machine,

programming style.

  • Best/Average/Worst
Stacks array-based
linked-list-based
TOP OF THE STACK
  • Unsorted Lists
    • array-based
  • Sorted Lists
    • array-based
    • Binary search : very efficient

search when using arrays!

  • Unsorted Lists
    • linked-list-based
  • Sorted Lists
    • linked-list-based
  • Binary Search Trees
    • Very efficient for searching!
  • Heaps
    • Very efficient for

implementing priority

queues

5

  • Graphs (i.e., array-based an linked-list-based)
    • Searching (i.e., DFS and BFS)
    • Shortest Paths (i.e., Dijkstra’s and Bellman-Ford algorithms)

Questions?