随笔分类 -  回溯

摘要:回溯法:避免无用判断,强化回溯代码的实现过程题目的大意就是以字典序为准,排列字符串,但要保证一个字符串中不包含相邻的重复子串。Problem DescriptionFor example, the sequence ABACBCBAD is easy, since it contains an ad... 阅读全文
posted @ 2015-02-21 18:02 fancy_boy 阅读(301) 评论(0) 推荐(0)