01.09 · Problem
Longest Working Streak With Repairs
This problem is part of solulu Pro
A factory has a row of sensors: 1 = working, 0 = faulty. A technician can repair at most k faulty sensors. After the repairs, what is the longest continuous row of working sensors?
Lifetime ₹2,000 ₹1,000 · Beta offer
Item 9 of 94 · updated 2026-10-12