Google Interview Question

Find all substring of a given string.