Given a string s, return the length of the longest substring strictly between two identical characters, excluding the two characters themselves. If no two identical characters exist in s, return
Constraints:
s.length
s consists only of lowercase English letters.
Given a string s, return the length of the longest substring strictly between two identical characters, excluding the two characters themselves. If no two identical characters exist in s, return
Constraints:
s.length
s consists only of lowercase English letters.