hackerrank java string reverse problem solution

visit shbcf.ru