ONYX Graphics Interview Question

A logic problem with light switches. Can't remember the details.