The coding question was same to this LC: https://leetcode.com/problems/alert-using-same-key-card-three-or-more-times-in-a-one-hour-period/
but the output format differed. The expected output is to list the user id along with the earliest badge time list that statified the criteria.
ex:
i/p:
["daniel","daniel","daniel","daniel","daniel","daniel","luis","luis","luis","luis"]
["10:00","10:40","10:50","10:51","10:55","11:00","09:00","11:00","13:00","15:00"]
o/p:
[[daniel:10:00,10:40,10:50,10:51,10:55,11:00]]
daniel user's badge access time is 3 or more times in the 1 hr window and the badge time list of 1 hr window is 10:00,10:40,10:50,10:51,10:55,11:00.