#289. 字符串前缀判断

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

字符串前缀判断

String Prefix Check

Background

In daily string processing tasks, we often need to perform different operations based on specific prefixes of a string. This is a simple task about identifying string prefixes.

Problem Description

Given a string, if the string begins with "red\