[CodeSignal] House Segments After Destruction
CodeSignal OA Bank interview questions · Hard · OA round · 6 tests
After each destroyed house, report how many contiguous house segments remain on the street.
The full question, tests and reference solution are available with a plan that includes CodeSignal OA Bank.
Run your code with Ctrl+Enter to see results.