Pregunta de entrevista de Mercury Systems (New Jersey)

Given an array of strings, write a function to find the longest common substrings (Core Java)