Comment
Comment by spagettnet
Subtext is that the solution is always the best possible move sequence. OP’s comment is clarifying that sometimes after executing the best move sequence, the puzzle ends with a capture, and sometimes ends with a checkmate (“winning”).