DXC Technology interview question

Difference between array and list