标签:
bool isUnique(string s){
    if(s.size() > 128) return false;
    char mp[128] = {0};
    for(char c : s){
        if(mp[c] > 0)  return false;
        ++mp[c];
    }
    return true;
}Chapter1_Array and Strings 1.1
标签:
原文地址:http://www.cnblogs.com/SheronMoMoKo/p/4906764.html