What is broadcasting in NumPy, what are its rules, and how does it avoid copying data?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks what NumPy broadcasting is, which rules decide whether two array shapes are compatible, and how a stretched array is represented without copying data. Tests shape reasoning, stride-based views, and the silent bugs that come from broadcasting along the wrong axis.