YNAB Interview Question

What are the differences between an array and a dictionary