Determines the maximum occurrence of a set value and returns all values which were set with this occurrence.
an array of int, containing the values with the highest occurrence, or null, if no value was set