What are the NumPy ufunc methods reduce, accumulate, and outer, and what do they do?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: medium
Interview Round: Other
Overview: Asks what the NumPy ufunc methods reduce, accumulate and outer compute and how they behave on multi-dimensional arrays. Tests axis handling, empty inputs and identity values, segmented reductions with reduceat, and practical uses such as running maxima and pairwise comparisons.