IBM Interview Question

Reverse of two string without using in build function