Google interview question

Find all substring of a given string.