Activity 01
Formal Debate: The Efficiency Face-Off
Two teams are given a problem (e.g., finding a duplicate in a list). One team must defend a simple O(n²) nested loop, while the other defends a more complex O(n) hash map approach, debating based on readability vs. speed.
Explain why analyzing algorithm efficiency is critical for large-scale software development.
Facilitation TipDuring the Efficiency Face-Off debate, assign roles (e.g., 'advocate for O(n)') to ensure every student engages with the evidence.
What to look forProvide students with pseudocode for two simple algorithms that solve the same problem (e.g., linear search vs. binary search). Ask them to: 1. Identify the Big O time complexity for each. 2. Explain which algorithm would be more efficient for a very large dataset and why.