Tree of Thoughts

Searches a tree of intermediate textual problem-solving states.

Method

Generate candidate thoughts, evaluate partial states, and use breadth/depth-first exploration with pruning or backtracking.

Applications

Puzzles, constrained writing, planning.

Advantages

Supports exploration and backtracking beyond a single sequence.

Limitations

Branching is expensive; unreliable evaluation can discard a good solution.

Alternatives

CoT, graph of thoughts, MCTS.

Example

Search alternative operations for the Game of 24.

Editorial clarification

Reviewed against method-specific primary or specialist reference; guarantees are conditional.

Sources

Educational reference only, not professional advice.

All algorithms