Skip to content

Instantly share code, notes, and snippets.

@rogerwschmidt
Created May 29, 2018 15:17
Show Gist options
  • Select an option

  • Save rogerwschmidt/9e1edc424091be82238909058bcc18f8 to your computer and use it in GitHub Desktop.

Select an option

Save rogerwschmidt/9e1edc424091be82238909058bcc18f8 to your computer and use it in GitHub Desktop.

Stack and Queues instructor notes

Objectives

  • Identify the methods used on stacks and queues respectively.
  • Work out which type of Linked List is better to represent a stack
  • Work out which tyoe of Linkked List is better to represent queue

What are the methods on stacks and queues?

  • With your groups, identify the methods on a stack
  • With your groups, identify the methods on a queue

Which Linked List is better to implement a Stack?

  • With your groups comparea and contrast Single Linked List and Doubly Linked List to see which one is better to implement a stack

Which Linked List is better to implement a Queue?

  • With your groups comparea and contrast Single Linked List and Doubly Linked List to see which one is better to implement a queue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment