L3Harris Interview Question

What is the difference between an array and a set.