Find Common Characters
Easy · Hashing · about 10 minutes
Asked at Amazon, Google, Microsoft, Bloomberg.
Given an array of lowercase words, return every character that appears in all of them, including duplicates (a character appearing twice in every word is listed twice). Return the characters in any order.