What are NumPy strides and how do they let reshaping and transposing work without copying data?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks what NumPy strides are and how they let reshape, transpose and slicing work without copying an array's data. Tests knowledge of ndarray memory layout, views versus copies, and the cases where NumPy has to copy.