Substrings That Begin and End With the Same Letter

Substrings That Begin and End With the Same Letter - Coding Problem | K5kC