Pregunta de entrevista de Applitools

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

Respuestas de entrevistas

Anónimo

4 jun 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

Anónimo

4 jun 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