Leetcode Problem Reverse And God