What is an efficient way to return the common elements between multiple large arrays? The arrays would contain strings, but knowing how to do it generically would be nice too.
For example, input of ['a', 'b'], ['a', 'b', 'c'], ['b', 'c'] should return ['b'].