What is a NumPy ndarray and what makes it efficient?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Explain what a NumPy ndarray is and why operations on it run much faster than on Python lists. It tests your understanding of dtypes, memory layout, strides and views, vectorized compiled loops, and the cases where those advantages disappear.