Rank Transform of an Array - DSA Problem | Talentd