Contains Duplicate In Leetcode Rating Predictor