Message on Whatsapp 8879355057 for DSA(OA + Interview) + Fullstack Dev Training + 1-1 Personalized Mentoring to get 10+LPA Job
0 like 0 dislike
356 views

1. Given the data for user log ins in the format username<userid> ,time ,date of login. Time in HH:MM:SS, date in YYYY:MM:DD and username as constant as user with varying user ids eg. user1,user2,...  
from the given data output the number of times a particular user has logged in on a particular day in the format of say [[user1,2021-01-01,3],[user1,2021-01-02,2],[user2,2021-01-01,4]] 
your code should eliminate invalid inputs such as wrong time or date etc.
0<=HH,MM,SS,day,month<=99
2000<=year<=3000

in Online Assessments by Expert (133,970 points) | 356 views

Please log in or register to answer this question.