Question d’entretien chez Applitools

Write a function to determine whether a string has any repeated characters.

Réponses aux questions d'entretien

Utilisateur anonyme

4 juin 2019

using namespace std; const int MAX = 256; bool uniqueStr(string str){ if (str.length()>MAX) { return false; } bool chars[MAX] = {false}; for (int i=0; i

Utilisateur anonyme

4 juin 2019

using namespace std; const int MAX = 256; bool uniqueStr(string str){ if (str.length()>MAX) { return false; } bool chars[MAX] = {false}; for (int i=0; i

1