Question d’entretien chez Bloomberg

Reverse a string.

Réponses aux questions d'entretien

Utilisateur anonyme

23 janv. 2015

string reverseString(string str){ int front = 0; int back = str.size( ); while(front > end){ char temp = str[front]; str[front] = str[back]; str[back] = temp; ++front; --back; } }

Utilisateur anonyme

27 févr. 2013

How long did it take for them to respond that you were rejected?