C1-Arrays and String【Cracking the Coding Interview 习题解答】
1.1 Implement an algorithm to determine if a string has all unique characters. What if you can not use additional data structures?
判断字符串是否有重复字符
o(n^2)算法
public static boolean checkUniqueChar1(cha
原创
2013-10-21 17:13:46 ·
1427 阅读 ·
0 评论