Frage im Vorstellungsgespräch bei Microsoft

Reverse a string

Antwort im Vorstellungsgespräch

Anonym

24. Sept. 2015

use stack.LIFO concept. Add the string char by char to stack. and just read the stack. will give you reversed string.