An alternative implementation in C for this Code Review question in JavaScript: List all repeated substrings with a fixed length by Ismael Miguel,
On behalf of @CiaPan
The problem:
given a character string
str
and a positive integern
find all repeated (possibly overlapping) substrings ofstr
having the lengthn
.