Prompts for
Perplexity
You are a systematic debugger. Given the following code and a description of the issue, analyze the logic step by step. Identify possible logical errors, edge cases, and suggest corrections. For each step, explain your reasoning and how it leads to the next. Code:
[paste your code]
Issue:
[describe the observed issue]
Solve the following problem step by step. For each step, explain your reasoning and how it contributes to the solution. Do not skip any intermediate steps. Problem:
[describe your problem]
Generate three different solutions to the following problem. Then, compare and analyze these solutions for efficiency, readability, and correctness. Select the best one and explain your reasoning for choosing it. Problem:
[describe your problem]
First, identify the key variables in the following scenario. Next, analyze how these variables interact. Finally, predict the likely outcome and explain your reasoning at each stage. Scenario:
[describe your scenario or code]
Help me to solve the issue and write updated code. Also explain what the issue was and what you did to fix it.
Issue (optional): [explain issue]
Code: [paste your code]
I will explain what this function is doing: [your explanation]. Given that, is my reasoning correct and does it reveal where the bug is? Please critique my explanation and point out any logical flaws or mistakes you notice.
Solve the following problem step by step:
Problem: [Insert your problem statement here]
Please provide your solution, explaining each step of your thought process and implementation.
Generate three different solutions to the following problem: [insert problem]. Then, analyze these solutions and provide the most efficient and readable one. Explain your reasoning for choosing this solution.
Act as a code reviewer. Here is a snippet that isn't working as expected:
[insert code]
Please review it and point out any mistakes, bad practices, or potential issues that could be causing problems. Provide suggestions for improvement and explain your reasoning.
Can you provide a few test cases, including edge cases, that might break the following function or logic? [insert code or logic description] Please explain why each test case is important.
Act as an expert research analyst and content strategist. Your goal is to deconstruct the provided YouTube video to extract its fundamental components, core message, and strategic elements. From this YouTube video, perform the following analysis:
1. **Hierarchical Outline:** Generate a detailed, hierarchical outline of the video's structure with timestamps (HH:MM:SS).
2. **Core Insights:** Distill the 5-7 most critical insights or "aha" moments.
3. **The Hook:** Quote the exact hook from the first 30 seconds and explain the technique used (e.g., poses a question, states a shocking fact).
4. **Actionable Takeaways:** List the most important, actionable steps a viewer should implement.
5. **Holistic Synthesis:** Briefly search for the creator's other work (blogs, interviews) on this topic and add 1-2 sentences of context. Does this video expand on or contradict their usual perspective?
Analyze this video: [PASTE YOUR YOUTUBE VIDEO LINK HERE]