How does NumPy interoperate with other libraries at zero copy through the array interface or buffer protocol?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: hard
Interview Round: Other
Overview: Asks how NumPy shares memory with other Python libraries without copying, through the buffer protocol, the array interface and related standards. Tests understanding of ndarray memory layout, interoperability with tools such as PyTorch and Arrow, and the conditions that force a copy.