Skip to main content
Logo image

Section 3.24 Summary

  • Linear data structures maintain their data in an ordered fashion.
  • Stacks are simple data structures that maintain a LIFO (last in, first out) ordering.
  • The fundamental operations for a stack are push, pop, and is_empty.
  • Queues are simple data structures that maintain a FIFO (first in, first out) ordering.
  • The fundamental operations for a queue are enqueue, dequeue, and is_empty.
  • Prefix, infix, and postfix are all ways to write expressions.
  • Stacks are very useful for designing algorithms to evaluate and translate expressions.
  • Stacks can provide a reversal characteristic.
  • Queues can assist in the construction of timing simulations.
  • Simulations use random number generators to create a real-life situation and allow us to answer “what if” types of questions.
  • Deques are data structures that allow hybrid behavior like that of stacks and queues.
  • The fundamental operations for a deque are add_front, add_rear, remove_front, remove_rear, and is_empty.
  • Lists are collections of items where each item holds a relative position.
  • A linked list implementation maintains logical order without requiring physical storage requirements.
  • Modification to the head of the linked list is a special case.
You have attempted 1 of 1 activities on this page.