Pronunciations
-
/ˈbæk.tɹækɪŋ/
Pronunciation notes
- General-American
Noun
The act of one who, or that which, backtracks; a retracing of one's steps.
Usage- Countable
- Uncountable
The usage of a runway as a taxiway, especially at private strips and smaller airports.
Usage- Countable
- Uncountable
The act of building all possible solutions to a problem incrementally, abandoning any candidate solution if it cannot lead to a valid solution.
Usage- Countable
- Uncountable
- Examples
-
backtracking algorithm
More examples (2)
Backtracking is used to solve problems in which a sequence of objects is chosen from a specific set so that the sequence satisfies some criterion. The classic example of the use of backtracking is the n-Queens problem.
This grammar only uses tokens and rules, so there is no backtracking involved, and the grammar is a predictive parser. This is fairly typical. Many grammars work fine without backtracking, or with backtracking in just a few places.