DXC Technology Interview Question

When you'll use list vs dictionary?