Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
🧠 The Thinking Evolution: From Problem to Pattern Recognition | Mental Model
Jun 15, 2025
98 views
Written by Prashant Basnet
<section class="bg-white dark:bg-gray-900 px-4 py-8 max-w-2xl mx-auto text-gray-800 dark:text-gray-200">
<h1 class="text-2xl sm:text-3xl font-signature italic font-semibold text-center mb-4">
👋 Welcome — You’ve Landed on My Signature Page
</h1>
<p class="text-base sm:text-lg mb-4">
Hey, I’m <strong class="text-black dark:text-white">Prashant Basnet</strong> — software developmemt engineer at
<a href="https://unisala.com" class="text-indigo-600 dark:text-indigo-400 underline hover:no-underline" target="_blank" rel="noopener noreferrer">
Unisala.com
</a>.
</p>
<p class="text-base sm:text-lg mb-6">
You’re viewing my <strong>Signature</strong>, a digital space where I share what I’m learning, building, and reflecting on, all in one place.
</p>
<div class="border-l-4 border-indigo-400 dark:border-indigo-500 pl-4 italic mb-6 text-sm sm:text-base text-gray-700 dark:text-gray-400">
📍 Found this page via LinkedIn, my personal site, or a shared link?
<br />
This isn’t a traditional portfolio. It’s my public digital notebook where I document useful ideas, experiments, and lessons I’ve learned as I build.
</div>
<h2 class="text-lg font-semibold mb-2">What You’ll Find Here:</h2>
<ul class="list-disc list-inside space-y-1 text-sm sm:text-base">
<li>✍️ Thoughts on algorithms, systems, and software design</li>
<li>🧠 Insights from building at Unisala</li>
<li>🔗 Direct links to everything I’ve published on Unisala</li>
</ul>
</section>
🎯 The Real Question: How do I train my brain to see patterns?
here's the actual thinking process that happens in senior developers' minds:
📖 STEP 1: Read Problem → Extract Core Operations
🔍 Mental Framework: Always ask : What am I REALLY doing?
🔄 STEP 2: Trace Your Manual Solution
The Magic Question: If I were doing this by hand with paper and pencil, what would I do?
For Candles Problem:
🤔 STEP 3: Why Stack Feels Natural
why Stack Seemed Right:
Why It's Not Optimal:
💡 STEP 4: The "Multiple Queries" Insight
Mental Shift:
🎯 STEP 5: Pattern Recognition Development
How This Database Gets Built:
🚀 STEP 6: The Meta-Learning Process
What Separates Senior from Junior Thinking:
Junior: Focuses on the specific problem
Senior: Focuses on the problem CLASS
Building Pattern Recognition:
🎓 How to Develop This Thinking
1. Post-Problem Reflection (Most Important!)
After solving ANY problem, ask:
2. Pattern Journaling
Keep a simple note of patterns you encounter:
3. Problem Classification Practice
Before coding, spend 2 minutes classifying:
4. Exposure to Problem Families
You don't need to solve 1000 problems. You need to solve problems from different FAMILIES:
🎯 The Ultimate Meta-Skill
The question that transforms your thinking:
This single question will push you toward the most efficient solutions because it forces you to think about:
💼 Senior Developer Wisdom
The real skill isn't knowing every algorithm. It's developing the intuition to:
Remember: Every senior developer went through the same evolution. The difference is conscious reflection on the thinking process, not just the coding process.
🎯 Recognition Patterns by Problem Type
🎯 The Key Insight for Your Growth
Notice how your candles problem fits perfectly into the Boundary + Multiple Queries pattern! This is exactly the type of pattern recognition that comes with experience.
🧠 Mental Model for Each Category
When you see these phrases in a problem:
🚀 Accelerated Learning Strategy
💡 Senior Developer Secret
Most experienced developers have only solved 200-300 LeetCode problems, but they've deeply understood the patterns within them. It's not about quantity it's about conscious pattern extraction.
The problems I've marked with ⭐ are the ones that, once mastered, will give you the intuition to recognise the pattern in dozens of other problems without solving them all.
Focus on understanding why each solution works, not just how to implement it. That's what builds the pattern recognition muscle!
This are the derived wisdom shared!
Rewire Your Problem-Solving Loop
For your next problem, spend 10 minutes just thinking before coding: