Microsoft Interview Question

- implement a function that reverts a string in local

Interview Answer

Anonymous

Oct 17, 2011

use a swapping operation and swap the first floor(n/2) elements with the last floor(n/2) elements.