← All topics
Logic and Miscellaneous

Working backwards

Starting from the desired end state and reversing operations to recover the initial state; effective when the forward path has many branches but the target is fixed.

0
Contest appearances
100
Practice problems
1–10
Difficulty levels

Drill this topic

Sign in and tell the coach to drill this knowledge point — it picks questions matched to your current level.

Working backwards — A3A