Splunk Interview Question

Reverse string elements in an array