Kabaddi Team Performance Streak
Kabaddi Team Performance Streak
HardArrays0% accepted
A Mumbai Kabaddi team analyzes match performance. The coach wants the longest streak where each game's score never drops below the minimum score in that streak. Find this performance-consistent streak.
Approach
Find the longest subarray where each element ≥ minimum of all elements in that subarray.
Input
6
15 12 14 13 16 10
Output
6
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