LeetLLM
LearnFeaturesPricingBlog
Menu
LearnFeaturesPricingBlog
LeetLLM

Your go-to resource for mastering AI & LLM systems.

Product

  • Learn
  • Features
  • Pricing
  • Blog

Legal

  • Terms of Service
  • Privacy Policy

© 2026 LeetLLM. All rights reserved.

Back to Topics
✍️MediumPrompt EngineeringPREMIUM

CoT, ToT & Self-Consistency Prompting

Master Chain-of-Thought prompting, Self-Consistency, and Tree-of-Thought strategies. Learn when to trade inference compute for reasoning accuracy.

What you'll master
Chain-of-Thought (CoT) prompting
Zero-shot CoT vs few-shot CoT
Self-Consistency: sample and vote
Tree-of-Thought: branching exploration
Inference-time compute scaling
Reasoning extraction
Majority voting
Breadth-First Search (BFS)
System 2 thinking
ReAct (Reasoning and Acting)
Medium20 min readIncludes code examples, architecture diagrams, and expert-level follow-up questions.

Premium Content

Unlock the full breakdown with architecture diagrams, model answers, rubric scoring, and follow-up analysis.

Code examplesArchitecture diagramsModel answersScoring rubricCommon pitfallsFollow-up Q&A

Want the Full Breakdown?

Premium includes detailed model answers, architecture diagrams, scoring rubrics, and 66 additional articles.