3084. Count Substrings Starting and Ending with Given Character
You are given a string
sand a characterc. Return the total number of substrings ofsthat start and end withc.
1 | class Solution { |
3084. Count Substrings Starting and Ending with Given Character
You are given a string
sand a characterc. Return the total number of substrings ofsthat start and end withc.
1 | class Solution { |