solulubeta
Sign in
Story Problems / Arrays, windows & two pointers
01.05 · Problem

Batches Under the Risk Cap

Medium Window with a product (count subarrays) Pro

This problem is part of solulu Pro

A factory tests items one after another. Every item has a positive risk score. A batch of consecutive items is *safe* if the product of its risk scores is strictly less than K. Count how many different safe batches…

Lifetime ₹2,000 ₹1,000 · Beta offer
Mark this problem as solved when you are finished.

Item 5 of 94 · updated 2026-10-12