Quest 19 - Chain-of-Thought Prompter
Quest 19: Chain-of-Thought Prompter
medium 25 minutesGoal
Structure prompts for reasoning
Instructions
-
Download the quest starter code:
Terminal window npx bluebeltdojo download quest-19-chain-of-thoughtcd quest-19-chain-of-thought -
Open
problem.jsin your editor with AI assistance. -
Implement the solution following the instructions in
problem.js. -
Verify your solution:
Terminal window node test.js
Verification
node test.jsWhen all tests pass, you will see the completion message.
Submit Your Solution
When tests pass, submit your solution:
npx bluebeltdojo submitYou must setup access code first:
npx bluebeltdojo setup <code>
Hints
- Read the instructions in
problem.jscarefully - Check the edge cases mentioned
- If stuck, peek at
_solution/solution.js