How would you flatten a multi-dimensional array in NumPy?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks how to turn a multi-dimensional NumPy array into a one-dimensional array and how the available methods differ. Tests understanding of views versus copies, memory layout, the order argument, and the cost of each option on large arrays.