03.12 · Problem
The Longest Winning Run with k Retakes
This problem is part of solulu Pro
A player's match history is a row of 1s (wins) and 0s (losses). The club can rewrite at most k losses as wins for the highlight reel, and wants the longest continuous run of wins it can then show.
Lifetime ₹2,000 ₹1,000 · Beta offer
Item 77 of 90 · updated 2026-10-12