#313. 判断子串“xyz”是否居中

    ID: 313 Type: Default 1000ms 256MiB Tried: 0 Accepted: 0 Difficulty: (None) Uploaded By: Tags>codingbatString-2gesp3字符串条件结构

判断子串“xyz”是否居中

String "xyz" Centered Check

Background

Congcong has recently been studying string properties and encountered an interesting problem: determining if a specific substring appears in the "middle" of a given string.

Problem Description

Given a string, determine if the substring "xyz" appears in the "middle" of the string. To define "middle\