main page  —  COMP 526 Applied Algorithmics

Unit 2: Fundamental Data Structures

This unit covers fundamental data structures:

  • stacks, queues, and resizable arrays
  • priority queues and binary heaps
  • binary search trees

Learning outcomes

  1. Understand and demonstrate the difference between abstract data type (ADT) and its implementation
  2. Be able to define the ADTs stack, queue, priority queue and dictionary/symbol table
  3. Understand array-based implementations of stack and queue
  4. Understand linked lists and the corresponding implementations of stack and queue
  5. Know binary heaps and their performance characteristics
  6. Understand binary search trees and their performance characteristics

About this unit

This unit covers some prerequisites for the remainder of the module. To accommodate the varying levels of prior exposure with this material, I will briefly recap the topics to bring all of you to a minimal level before moving on.

If you previously had an algorithms and data structures module in a computer science undergraduate course, this unit will mostly be repetition for you. But if you have never seen the material before, the brief summary I give in the context of this module will not suffice to replace such a module. While not strictly necessary to succeed in COMP526, you are highly encouraged to learn more in depth about these gems of computer science. For that I have collected some external high-quality material:

Material for further study.

Material

Further reading and sources

see Material for further study


Unit 1  ⋅  Syllabus  ⋅  Unit 3