Skip to main content

How to Explain Your Solution Without Getting Lost

A simple way to speak while solving, without turning it into a confusing monologue or making the interviewer guess your reasoning.

Andrews Ribeiro

Andrews Ribeiro

Founder & Engineer

The problem

Many people reach the right solution and still lose points in the interview.

Not because the code is wrong.

But because the explanation is weak.

The two most common ways to mess this up are:

  • saying too little and forcing the interviewer to guess
  • saying too much and burying the main idea under noise

In both cases, your judgment becomes less visible than it should be.

Mental model

Explaining your solution is not about narrating everything that passed through your head.

It is about showing enough for the other person to trust your judgment.

In practice, most good explanations fit into three parts:

  1. which path you chose
  2. what that path costs
  3. why that cost makes sense for this problem

If an answer has those three elements, it already sounds more mature.

Breaking it down

Start with the baseline

Before you talk about the optimized version, make the simplest working solution clear.

That helps because it:

  • shows that you can start from zero
  • creates a reference point for improvements
  • stops you from sounding like you jumped straight to a memorized trick

Then name the main cost

Every solution charges something:

  • time
  • memory
  • implementation complexity
  • loss of original order
  • a bad worst case

If you point that out early, the conversation gets easier.

Now the interviewer sees that you are not trying to sell a perfect answer.

You are showing judgment before they have to pull it out of you.

Only then explain why you would change approaches

The jump from one solution to another needs a reason.

That reason usually comes from a constraint such as:

  • I need a single pass
  • I need to preserve the index
  • I need lower memory
  • I need to handle larger scale

Without that bridge, the answer becomes a list of techniques.

Speak in blocks, not in raw thought

One common mistake is solving silently and then dumping everything at once.

Another is narrating every micro-thought while you are still figuring it out.

The better middle ground is usually:

  1. frame the problem
  2. propose the baseline
  3. expose the main cost
  4. justify the improvement

That rhythm is much easier to follow.

Simple example

Imagine a target-sum question on an array.

A weak answer would be:

I would use two pointers.

That is not exactly wrong.

But it leaves too much open:

  • why two pointers?
  • do I need to sort first?
  • does that preserve the index?
  • what cost am I accepting?

A better answer sounds like this:

The simplest version is sorting the array and using two pointers. That costs O(N log N) and changes the original order. If I need to preserve the indices and solve it in one pass, I would switch to a Hash Map, pay O(N) memory, and get fast lookup.

In a few lines, you showed:

  • the baseline
  • the cost
  • the reason for the pivot
  • alignment with the constraint

More importantly, you saved the interviewer from having to reverse-engineer your reasoning.

Common mistakes

  • Describing syntax instead of the shape of the solution.
  • Throwing out a buzzword and acting like the label explains itself.
  • Hiding the weakness of your own solution to look stronger.
  • Jumping straight to the clever version without explaining why it is needed.

How a senior thinks

People with more experience usually explain to create trust, not to sound brilliant.

The rhythm often looks like this:

My baseline is X. The main cost of X is Y. If the constraint is Z, I pivot to W for this reason.

That sounds simple, but it is exactly what keeps the conversation clean.

Because it shows:

  • direction
  • limit
  • judgment

What the interviewer wants to see

In technical interviews, the interviewer wants to see whether you can make your decision easy to follow.

They are usually checking whether you can:

  • structure an answer instead of only reaching an idea
  • point out the limitation before being challenged on it
  • connect technique to the constraint of the problem
  • keep the conversation clear under pressure

Explaining well is not talking more. It is making your technical decision easy to trust.

When your line of reasoning is visible, the quality of the solution becomes visible too.

Quick summary

What to keep in your head

Practice checklist

Use this when you answer

You finished this article

Next article How to Structure a System Design Answer Previous article Reviewing Someone Else's Code Live Without Sounding Pedantic

Keep exploring

Related articles