You need a solution with "right" steps before determining if a step is wrong.
So this can only come after you have an algorythm.