Leetcode Problem Reverse And Complementary