首页
文章
活动
博客
图书
招聘
Search
登录
注册
趣味问题
2012-01-07
王少平
趣味问题,要求效率和优雅并行
1.字符串中单词首字母大写,例:
输入:The small brown & ginger fox JUMPED OVER the gate
输出:The Small Brown & Ginger Fox Jumped Over The Gate
2.找出字符串中最长的回文,例:
输入:abacdfgdcabaypqqpy
输出:ypqqpy
以后会不断更新,有兴趣的可以写一写!
0
该文章对我有帮助
364°
/
3642 人阅读
/
0 条评论
发表评论
请
登录
后发表评论
王少平
访客 31108
王少平
的其他博文
更多
netbean中文输出
celerity 1.7.0还是不能很好的处理iframe
CentOS挂载xp共享
修改CentOS的默认启动级别
【转】面试技巧
Solaris系统上启动Oracle
Aptana默认工作路径的修改
【转】用 VirtualBox 安裝 Android-x86 4.0
Aptana汉化
解决webdriver用send_keys输入长字符串问题