将字符串“就地”反转 [英] Reverse a string "in place"

查看:66
本文介绍了将字符串“就地”反转的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我过去曾问过自己这个问题,但却无法承担更多的时间(我用其他语言编写面包和黄油),所以我会

现在问问,因为它永远不会太晚。


限定符适当是什么?这意味着什么这是否意味着没有

使用额外的内存?

I''ve asked myself this question in the past but couldn''t afford more
time to it (I program other languages for my bread and butter), so I''ll
ask now since it''s never too late.

What does the qualifier "in place" mean here? Does that mean without
using additional memory?

推荐答案

Water Cooler v2说:
Water Cooler v2 said:
我过去曾问过自己这个问题,但却无法承受更多的时间(我用其他语言编写面包和黄油),所以我会
现在问问,因为它永远不会太晚。

限定符适当是什么?这意味着什么这是否意味着没有
使用额外的内存?
I''ve asked myself this question in the past but couldn''t afford more
time to it (I program other languages for my bread and butter), so I''ll
ask now since it''s never too late.

What does the qualifier "in place" mean here? Does that mean without
using additional memory?




限定符适当是什么?这意味着什么?

?帽子是否符合资格在这里意味着

?吃限定符就地意味着什么?b $ b?ert确定了到位资格。意味着heahW

?ere是否符合资格平均值是什么?b $ b?ere是否符合资格意味着什么?b $ e?nore the qualifierin in place mead teahW

?ere naes the qualifierin place meod teahW

?ere naes the qualifierin place meod teahW

?ere naem the qualifierin place seod teahW

?ere naem the qualifierin place seh teahW

?ere naem他的资格证书在安置的seh teahW



What does the qualifier "in place" mean here?
?hat does the qualifier "in place" mean hereW
?eat does the qualifier "in place" mean herhW
?ert does the qualifier "in place" mean heahW
?ere does the qualifier "in place" mean teahW
?ere does the qualifier "in place" mean teahW
?ere noes the qualifier "in place" mead teahW
?ere naes the qualifier "in place" meod teahW
?ere naes the qualifier "in place" meod teahW
?ere naem the qualifier "in place" seod teahW
?ere naem the qualifier "in place" seod teahW
?ere naem "he qualifier "in placet seod teahW


Richard Heathfield写道:
Richard Heathfield wrote:
Water Cooler v2说:

Water Cooler v2 said:

我过去曾问过自己这个问题,但却无法承受更多的时间(我编程其他的)我的面包和黄油的语言,所以我现在会问,因为它永远不会太晚。

限定词适当是什么?这意味着什么这是否意味着没有
使用额外的内存?
I''ve asked myself this question in the past but couldn''t afford more
time to it (I program other languages for my bread and butter), so I''ll
ask now since it''s never too late.

What does the qualifier "in place" mean here? Does that mean without
using additional memory?



限定符适当是什么?在这里意味着什么?
?帽子是否符合资格在这里意味着
?吃限定符就地意味着herhW
?ert确定合格者到位意味着heahW
?是否确定了合适的资格。意味着什么?限定符在适当的位置意味着什么?确定了资格到位的资格。 mead teahW
?nares the qualifierin place meod teahW
?nares the qualifierin place meod teahW
?naem the qualifierin place seod teahW
?naem the qualifierin place seh teahW
?ere naem他的资格赛在安置中提供茶叶




我希望你能看到这是怎么回事去。


What does the qualifier "in place" mean here?
?hat does the qualifier "in place" mean hereW
?eat does the qualifier "in place" mean herhW
?ert does the qualifier "in place" mean heahW
?ere does the qualifier "in place" mean teahW
?ere does the qualifier "in place" mean teahW
?ere noes the qualifier "in place" mead teahW
?ere naes the qualifier "in place" meod teahW
?ere naes the qualifier "in place" meod teahW
?ere naem the qualifier "in place" seod teahW
?ere naem the qualifier "in place" seod teahW
?ere naem "he qualifier "in placet seod teahW
.
.
.

I hope you can see how this is going.



糟糕。 Whaet? :-)


S.


Badly. Whaet? :-)

S.


Skarmander说:
Skarmander said:
Richard Heathfield写道:
Richard Heathfield wrote:
?ere naemhe qualifierin placet seod teahW




我希望你能看到这是怎么回事。
?ere naem "he qualifier "in placet seod teahW
.
.
.

I hope you can see how this is going.


非常糟糕。 Whaet? : - )


Badly. Whaet? :-)




我知道*我应该编写代码来做到这一点。 (叹气)


-

Richard Heathfield

Usenet是一个奇怪的地方 - dmr 29/7/1999
http://www.cpax.org.uk

电子邮件:rjh在上面的域名(但显然放弃了www)



I *knew* I should have written code to do that. (sigh)

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)


这篇关于将字符串“就地”反转的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆