You are given the activity logs of users on a platform and an integer k. The logs are represented by a logs, where each logs[i]
Multiple users can perform actions simultaneously, and a single user can perform multiple actions in the same minute.
The User Active Minutes (UAM) for a user is defined as the number of unique minutes during which the user performed at least one action. Even if a user performs multiple actions within the same minute, that minute is only counted once toward their UAM.
Return a answer of size k such that, for each k), answer[j - 1] is the number of users whose UAM is equal to
Constraints:
logs.length
k is in the range
You are given the activity logs of users on a platform and an integer k. The logs are represented by a logs, where each logs[i]
Multiple users can perform actions simultaneously, and a single user can perform multiple actions in the same minute.
The User Active Minutes (UAM) for a user is defined as the number of unique minutes during which the user performed at least one action. Even if a user performs multiple actions within the same minute, that minute is only counted once toward their UAM.
Return a answer of size k such that, for each k), answer[j - 1] is the number of users whose UAM is equal to
Constraints:
logs.length
k is in the range