Search
⌘K

Leetcode 1407. Top Travellers

Aggregate each user's total distance from Rides (treat users with no rides as 0) and return every user's name with their travelled_distance. Order the results by travelled_distance descending and break ties by name ascending.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.