โ† Cadence questions

Final States of Bulbs from Log

Filed under Cadence

The question

Given a text file representing state transitions of 50 initially switched-off bulbs, where each line indicates a bulb ID and a timestamp of its state change, print the final state of all bulbs.

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

Related Cadence questions

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