Acronotics interview question

Diff between list and array