Factweavers Interview Question

String reversal array function and its output