XYZ (Turkey) Interview Question

Write a program on string without using recursion method