Fewest Sprinkler Heads to Soak Every Bed in a Row

Company: Swiggy_AmritaCoimbatore_8jan

Difficulty: medium