Given two strings s and t, return the number of pairs of substrings that differ by exactly
A pair of substrings s, t, they have the same length, and they differ at exactly
Note: A substring is a contiguous sequence of characters within a string.
Constraints:
s.length, t.length
s and t consist of lowercase English letters only.
Given two strings s and t, return the number of pairs of substrings that differ by exactly
A pair of substrings s, t, they have the same length, and they differ at exactly
Note: A substring is a contiguous sequence of characters within a string.
Constraints:
s.length, t.length
s and t consist of lowercase English letters only.