One-dimensional array with distinct elements

0
Remix

Solve an array task constrained to distinct elements, using hashing to enforce uniqueness in linear time. Reported on 1point3acres' Glean bank; reconstructed in our own words.

GleanCoding
No answer yet. Write the first one; the best answer gets endorsed.