Microsoft Interview Question

Reverse a string

Interview Answer

Anonymous

Sep 24, 2015

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