J.P. Morgan Interview Question

Difference between matrix and data frame