Rain Caught on a Rooftop Row
Hard · Two Pointers · about 35 min
A street has a row of flat-roofed buildings, each 1 unit wide, with no gaps between them.
Hard problems are part of TuringPath Pro. See plans.
Learn the pattern first: the Two Pointers lesson.
More Two Pointers problems
- Two Gifts for One Card (Easy)
- Mirror Sign Check (Easy)
- Squash Repeated Readings (Easy)
- Ledger Entries That Cancel Out (Medium)
- Biggest Tank Between Two Posts (Medium)
- Three Weights Closest to the Mark (Medium)