Got to give back to the community :)
Position: SDE 2
The question was very similar to #472. The only difference was instead of returning the list of compound words, I was asked return a list of lists of words which are being concatenated, e.g., if the input is ["cat","cats","catsdogcats","dog","dogcatsdog","hippopotamuses","rat","ratcatdogcat"], the output supposed to be [["cats", "dog", "cats"], ["dog", "cats", "dog"], ["rat", "cat", "dog", "cat"].