Leetcode Reverse An Array Problem Codeforces Rating Range