How does NumPy handle large datasets efficiently in terms of memory management and performance optimizations?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Explain how NumPy stores arrays and runs computations so that large datasets stay fast and fit in memory. Tests understanding of contiguous typed buffers, vectorized ufuncs, views versus copies, broadcasting, in-place operations, memory mapping and the habits that undo these gains.