NVIDIA interview question

Shown a perl code, what does it do?

Interview Answer

Anonymous

21 Jun 2018

Its a code for weeding out duplicate elements from an array. More efficient ways of doing it - use hashing