0
5
guess (on / off) state of each diode
solve circuit
check corresponding condition, repeat until all checks pass