摘要: 1.1Implement an algorithm to determine if a string has all unique charactersWhat if you can not use additional data structures?bool isUniqueChars(string str) { unsigned int checklittle = 0; unsigned int checklarger = 0; for(int i = 0; i = 0 ; unsigned int temp; ... 阅读全文
posted @ 2013-08-17 16:31 冰点猎手 阅读(237) 评论(0) 推荐(0)