Barclays Interview Question

The difference between list and dictionary