Sollicitatievraag bij Microsoft

Reverse a string

Antwoord op sollicitatievraag

Anoniem

24 sep 2015

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