← All problemsSign in

1960s TELEVISION

Let’s go to 1960’s. This is the time Televisions were introduced in India. Every household in India did not have a TV back then. They have to go to others’ homes to watch their favorite shows and movies on TV. You are given a binary string of length n. Where ‘0’ represents the i'th house does not have a television and ‘1’ denotes that the household has a television. Households which does not hav

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start