Find Longest Self-Contained Substring - DSA Problem | Talentd