Leetcode 1331. Rank Transform of an Array | Hello Interview