Rank Transform of a Matrix - DSA Problem | Talentd