How does NumPy store data in memory, and why is this efficient compared to Python lists?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks how a NumPy array lays out its data in memory and why that makes it faster and smaller than a Python list. Tests understanding of dtype, shape and strides, views versus copies, per-object overhead in CPython, and cache-friendly vectorized loops.