WebMD Health interview question

I was asked how would I remove duplicated from an array in Java

Interview Answers

Anonymous

Jul 27, 2017

I explained the same solution I did in the first interview. He then said I was allowed to use collections, so I said I would loop through the array and add it to a set. He then asked me to solve it using a map. Which I couldn't do, as to why you would use a map when it is the perfect use-case for a set is beyond me.

1

Anonymous

Aug 19, 2017

when did you hear back from them? the rejection?