Microsoft interview question

String reversal "Hello word" to "world hello"