set
Overview
Description
Takes an array and removes duplicates, result is unordered.
Implementation details
I create a map to track whether I have the value or not. I also create a slice to store the outputs. Both are poplated as I loop through the input slice.
Compliance to Spec
Rough level of compliance
100%