View Problem

From a List Produce a List of Duplicate Entries

Taking a list:
["andrew", "bob", "chris", "bob"]

Write the code to produce a list of duplicates in the list:
["bob"]

There are 22 other solutions in additional languages (clojure, cpp, csharp, erlang ...)