IQVIA interview question

Reverse a string without using in-built functions.