#255. 相同位置双字符子串计数

    ID: 255 Type: Default 1000ms 256MiB Tried: 0 Accepted: 0 Difficulty: (None) Uploaded By: Tags>codingbatWarmup-2gesp2模拟字符串

相同位置双字符子串计数

Same Length 2 Substring Count

Background

Dawei and Xiaoxiao are playing a string game.

Problem Description

Given two strings, aa and bb, return the number of positions where they contain the same length 22 substring. For example, for "xxcaazz" and "xxbaaz\