โ† Zscaler questions

Distinct infection sequences for houses

Filed under Zscaler

The question

Given a town with n houses and an integer array denoting infected houses, find the total number of distinct infection sequences possible.

No write-up yet. Related questions below have one.

Related Zscaler questions

Collected from public candidate posts and coding forums. Updated Nov 2026.