Aadhaar Authentication Peak Hour Analysis
Aadhaar Authentication Peak Hour Analysis
EasyArrays100% accepted
A Pune bank reviews Aadhaar authentication logs for employee Supriya. The array contains timestamps of authentication attempts throughout the day. Bank needs to identify which hour had maximum authentication attempts to understand peak load and plan server capacity.
Approach
Given array of N authentication timestamps, find the hour with maximum login attempts.
Input
timestamps=['09:15','09:30','10:45','10:20','11:10']
Output
9
More Arrays problems
Browse all coding problems →solution.py
Loading editor...
Test 1
Test 2
Test 3
Press Run to test your custom input, or Submit to judge against all test cases.
Sign in to continue
Create a free account to run code, submit solutions and track progress.
- Free forever — no credit card
- 10+ languages with live execution
- Points, streaks & leaderboards