Fiserv interview question

String reverse using custom code.