"backtracking" in Chinese (Simplified)
回溯回退(计算机/数学)
Definition
回溯是指回到之前的步骤以修正错误或尝试不同方法,特别用于解决问题、计算机科学或解谜中。
Usage Notes (Chinese (Simplified))
常见于技术或学术领域(计算机、逻辑、问题解决)。非正式情况下也可表示撤回或改正某行为。在编程中,backtracking 算法是一种搜索解的方法。
Examples
The computer program uses backtracking to find the answer to the puzzle.
这个计算机程序用**回溯**来找到谜题的答案。
Backtracking helps you fix mistakes by letting you go back to earlier steps.
**回溯**可以帮你纠正错误,让你回到之前的步骤。
Many puzzles, like Sudoku, require backtracking to solve them.
许多谜题,如数独,需要用**回溯**来解决。
Without backtracking, you'd get stuck every time you make a wrong move.
没有**回溯**,每次走错一步你都会卡住。
He started solving the maze but kept backtracking whenever he hit a dead end.
他开始解迷宫,但每遇到死路就会不断**回溯**。
In programming, backtracking can be really powerful for finding all possible solutions.
在编程中,**回溯**对于找到所有可能的解法非常强大。