Wagah Border Peak Hours
Wagah Border Peak Hours
EasyArrays0% accepted
Meera analyzes visitor data at Wagah Border checkpost between India and Pakistan. She needs to find the peak hour - which hour processed the maximum number of visitors.
Approach
Given an array of visitor counts for N hours at Wagah Border, find the maximum number of visitors processed in any single hour.
Input
1
5
Output
5
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