</>OfferRetriever
DashboardDiscuss
NEW

Spring Hire Sale

Limited Time Deal: Unlock all premium questions for over 30% off

$10.42$7.08

08

:

04

:

48

:

39

Get this deal
Back to Dashboard

[CodeSignal] House Segments After Destruction

Hard

Question

You are monitoring the building density in a district of houses. The district is represented as a number line, where each house is located at some integer position. Some houses are gradually being destroyed over time. ...