carloscn / carloscn/structstudy

替换字符串空格(双指针法)

Open
#8 4 comments 0 reactions 1 assignee Claimed by @carloscn View on GitHub
字符串
Dominant language
C
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

### 题目描述

请实现一个函数,将一个字符串中的每个空格替换成“%20”。例如,当字符串为`We Are Happy`.则经过替换之后的字符串为`We%20Are%20Happy`。

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.