Pregunta de entrevista de Microsoft

Reverse a string

Respuesta de la entrevista

Anónimo

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.