Site icon EasyLearnCode

Problem Solving

How I Cracked an SDE Role at Amazon from a Tier 3 College (My Problem-Solving Framework)

I wasn’t from a top college.
I didn’t have the best resources or guidance.
But I still managed to crack an SDE role at Amazon.
And no—it wasn’t because I solved thousands of problems blindly.

The real reason was this:
👉 I changed how I think while solving problems

In this article, I’ll share the exact problem-solving framework that helped me go from confused to confident in DSA.


The Real Problem Most Students Face

Most students struggle with Data Structures and Algorithms (DSA) not because they are not smart…

But because they:

This leads to frustration and slow progress.

I was stuck in the same cycle—until I fixed my approach.


My Problem-Solving Framework

Here’s the exact step-by-step system I followed:


1. Define the Problem Clearly

Before writing a single line of code, I made sure I understood:

If you skip this step, you will almost always go in the wrong direction.


2. Break the Problem Into Smaller Parts

Instead of trying to solve everything at once, I divide the problem into smaller steps.

This makes complex problems easier and reduces overwhelm.


3. Think of Multiple Approaches

Most people stop at the first solution they think of.

I trained myself to ask:

This step helped me move from brute force to optimized solutions.


4. Evaluate and Choose the Best Approach

Once I had multiple ideas, I compared them based on:

Then I picked the most efficient and practical solution.


5. Implement the Solution

Now comes coding.

Since the thinking is already clear, implementation becomes much easier and cleaner.


6. Reflect and Learn (Most Important Step)

This is where real improvement happens.

After solving every problem, I asked myself:

Most people skip this step—that’s why they don’t improve.


My DSA Thinking System

While practicing, I categorized my thinking into two cases:


✅ When I Could Solve the Problem

I asked:

This helped me identify my strengths.


❌ When I Couldn’t Solve the Problem

I asked:

This helped me fix my weaknesses.


Common Mistakes I Made (And You Might Too)

  1. Sticking to one approach too quickly
  2. Trusting intuition without understanding
  3. Misunderstanding the problem
  4. Struggling with recursion-based problems

Once I became aware of these, I improved much faster.


Key Lesson

Solving more problems is NOT enough.

👉 Improving your thinking process is what actually matters.


Final Thoughts

If you are preparing for coding interviews or placements, don’t just practice blindly.

Focus on:

That’s how you truly improve.


If you found this helpful and want to improve your DSA and problem-solving skills:

Let’s grow together 🚀

Share
Exit mobile version