How o1, o3, and Claude thinking mode solve hard problems by reasoning step-by-step. Chain-of-thought, thinking trees, and compute budgets.