Algorithm for reversing a string

join shbcf.ru