May 2009 - May 2017 论坛八周年-你的足迹,我的骄傲


一亩三分地论坛

 找回密码
 获取更多干活,快来注册

一亩三分地官方iOS手机应用下载
查看: 439|回复: 0
收起左侧

[学Java/C#] about“ Using JAVA by reversion. ”question

[复制链接] |试试Instant~ |关注本帖
catherine330 发表于 2016-8-31 11:29:37 | 显示全部楼层 |阅读模式

注册一亩三分地论坛,查看更多干货!

您需要 登录 才可以下载或查看,没有帐号?获取更多干活,快来注册

x
Implement a SubstringGenerator that generates all substrings of a string. For example, the substrings of the string "rum" are the seven strings
"r", "ru", "rum", "u", "um", "m", ""
Hint: First enumerate all substrings that start with the frst character. There are n of them if the string has length n. Then enumerate the substrings of the string that you obtain by removing the frst character.  Using JAVA by reversion.

本人刚接触JAVE 对这样的问题实在找不到头绪。

本版积分规则

关闭

一亩三分地推荐上一条 /5 下一条

手机版|小黑屋|一亩三分地论坛声明 ( 沪ICP备11015994号 )

custom counter

GMT+8, 2017-5-23 10:33

Powered by Discuz! X3

© 2001-2013 Comsenz Inc. Design By HUXTeam

快速回复 返回顶部 返回列表