Plus One Leetcode Solution