What does distinct mean in terms of an array? I've tried searching this up, but from my what I think it is. It means there are no duplicate elements (ie. all elements are unique elements)?
Yes you are right.. 
An array is distinct if it contains unique elements i.e. no duplicates