top of page

Daily Interview Questions From FAANG Companies

Here is the latest python question from Google:

Activity Rank

Find the email activity rank for each user. Email activity rank is defined by the total number of emails sent. The user with the highest number of emails sent will have a rank of 1, and so on. Output the user, total emails, and their activity rank. Order records by the total emails in descending order. Sort users with the same number of emails in alphabetical order. In your rankings, return a unique value (i.e., a unique rank) even if multiple users have the same number of emails.

If you know the answer or looking for answer then write us in comment section or at

24 views0 comments


bottom of page