Sollicitatievraag bij Bloomberg

Reverse a string.

Antwoorden op sollicitatievragen

Anoniem

23 jan 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; } }

Anoniem

27 feb 2013

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