Skip to content

Week 07 - October 28

Class Description

This week we explore stacks, queues, and error handling. You'll discover how these fundamental data structures power everything from algorithm implementation to undo functionality, and learn to write robust code that handles errors gracefully.

Key Connection: Abstract data types (stacks and queues) → Algorithm implementations → Robust error handling → Real-world applications.

Key Learning Objectives: - Understand stacks (LIFO) and queues (FIFO) as abstract data types - Implement stacks and queues from scratch - Use stacks and queues in practical applications - Handle exceptions gracefully with meaningful error messages - Write defensive code with proper validation

Before Class

Videos to Watch Before Class

CS 5001 - Stacks and Queues

CS 5001 - Error Handling