When can you add two NumPy arrays together, and what conditions enable broadcasting?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks when two NumPy arrays can be added element-wise and which shape rules allow broadcasting. Tests comparing shapes from the right, the role of size-1 and missing dimensions, and spotting shape combinations that fail or quietly produce a result of the wrong shape.