Whenever you're ready, walk me through how you'd approach this.
How do you know when a system is memory bound or compute bound? Explain the measurements, profiling tools, and controlled experiments you would use to distinguish CPU computation, memory access, and other bottlenecks. Discuss how the diagnosis changes optimization priorities and how you would validate an improvement.