← Arcesium questions

Find infected city binary representation on day n

Filed under Arcesium

An infinite array of 0s and 1s represents cities, where index 0 is initially infected on day 1. On subsequent days, the infection status of city i is the XOR of the values of city i-1 and city i from…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Arcesium questions

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