J.P. Morgan interview question

Difference between matrix and data frame