Hyperscience interview question

Find minimum buckets required to hold all the elements in an array