Algotec Interview Question

reverse a string