Finding a Motif in DNA

http://rosalind.info/problems/subs/

Given: Two DNA strings s and t (each of length at most 1 kbp).

Return: All locations of t as a substring of s.