Metron, Inc. interview question

Reverse a character array.