What is the difference between a matrix and a multi-dimensional array in R?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks how a matrix differs from a multi-dimensional array in R and what the two have in common. Tests knowledge of the dim attribute, class behavior, type coercion, column-major storage, and how subsetting drops dimensions.