Contiguous subsequences with equal 0s and 1s in bit stream
Filed under Housing.com
The question
Given a stream of bits consisting of 1s and 0s, find the contiguous subsequences where the number of 0s equals the number of 1s.
No write-up yet. Related questions below have one.
Related Housing.com questions
Collected from public candidate posts and coding forums. Updated Nov 2026.