PRDXN Interview Question

reverse a string without breaking sequence and without using inbuilt function