Darjeeling Tea Yield Calculation
Darjeeling Tea Yield Calculation
EasyArrays0% accepted
Priya manages a Darjeeling tea garden near Kalimpong with 10 sections. Each section produces different yield (in kg) per day. She needs to find the total seasonal yield and identify the best-performing section for recognition and resource allocation.
Approach
Given array of N daily yields from tea garden sections, calculate total yield and find highest-yielding section index.
Input
7
146 153 115 182 165 200 125
Output
1086 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