Domanda di colloquio di Microsoft

Reverse a string

Risposta di colloquio

Anonimo

24 set 2015

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