Peak Reading Day Calculator
Peak Reading Day Calculator
MediumArrays100% accepted
Ravi organizes Bangalore's book club with chapters across 5 cities and tracks daily book reading schedules. He needs to find which day of the month has the most books scheduled across all chapters.
Approach
Given a 2D array where rows are city chapters and columns are days, find the day (column index) with the maximum total books scheduled.
Input
schedule=[[1,5,3],[2,4,1],[0,6,2]]
Output
1
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