Substrings That Begin and End With the Same Letter

mediumSolve on LeetCodeLast edited: August 2, 2025