Find the Longest Semi-Repetitive Substring - DSA Problem | Talentd