#307. 字符串条件前缀处理

    ID: 307 Type: Default 1000ms 256MiB Tried: 0 Accepted: 0 Difficulty: (None) Uploaded By: Tags>codingbatWarmup-1gesp3字符串

字符串条件前缀处理

Add "not" Prefix

Background

Congcong is learning string manipulation. He encountered an interesting problem and needs your help to solve it.

Problem Description

Given a string, return a new string where "not " has been added to the front. However, if the string already begins with "not\