BBMP Pothole Priority Zone
BBMP Pothole Priority Zone
EasyArrays0% accepted
Meera works for BBMP (Bangalore city corporation) tracking pothole reports by ward. She has counts from each zone [5, 12, 3, 18, 7]. To allocate repair teams efficiently, she identifies which zone needs urgent attention.
Approach
Given an array of N pothole counts across zones, return the zone index and maximum pothole count requiring immediate repair.
Input
5
5 12 3 18 7
Output
3 18
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