Turning Learners Into Developers
Codekilla
CODEKILLA
back to course
Lesson 33 / 9136%
Advanced Prompting Techniques3/6

Tree-of-Thought Prompting

Explore multiple branches of reasoning before deciding.

// chain-of-thought · think step by stepQ: A bat & ball cost ₹110. Bat is ₹100 more.Step 1: Let ball = x.Step 2: bat = x + 100.Step 3: x + (x+100) = 110 → 2x = 10Answer: ball = ₹5.
Visual explanation diagram · click steps to walk through it

This lesson is Pro only.

Unlock every premium lesson and module — Pro from ₹299 / month (or ₹999 / year, saves ~₹2,589).

Sign in to unlock
// feedback.matters()
Did this lesson help you?