Try to solve the Rank Transform of an Array problem.
Given an integer array arr, replace each ...
arr