摘要: CrackCode Interview 书籍链接地址/* * Chapter 1 * Question: Implement an algorithm to determine if a string has all unique characters. * What if you can not use addtional data structures? * 实现一个算法用于判断一个字符串所包含的所有字符是各不相同的。 * 尽量不使用额外空间 */#include<iostream>using namespace std;/* * 假设为ASCII编码,字符数值范围为0~255 阅读全文
posted @ 2013-03-24 19:35 糖拌咸鱼 阅读(757) 评论(0) 推荐(0) 编辑