Replace elements by its rank in the array - Practice - Prepverse 🎓