How to Think

How strong engineers approach any problem: read it, size it, brute-force it, find the pattern, optimise and explain. For DSA, system design and GenAI, with worked approaches.

27 lessons, 1 of them free.

Start Here

  • How experts approach any problem: The thinking loop strong engineers use on every problem, from DSA rounds to system design and AI, walked through on one example.

DSA: How to Think

  • Read the problem like an engineer (Pro): Restate it, pin the input and output, hunt the hidden constraints and solve tiny examples by hand before you write any code.
  • Let the constraints choose your algorithm (Pro): Turn "1 ≤ n ≤ 10^5" into a target Big-O within seconds, using the 10^8 operations per second rule and a table you will memorise.
  • Brute force first, on purpose (Pro): Why the slow, obvious solution is your most valuable first step, how to write and state it fast, and how it points at the optimal one.
  • Spot the pattern from the signals (Pro): Match the words and shapes in a problem statement to the technique that fits, with a signal table, a decision flow and six practice problems.
  • Optimise by finding the wasted work (Pro): Go from brute force to optimal with one question, "what am I recomputing?", and five standard fixes, each shown as before-and-after code.
  • Edge cases, dry runs and testing (Pro): Catch your own bugs before the interviewer does: an edge case checklist, line-by-line dry runs with a variable table, off-by-one traps and fast tests.

DSA: Worked Approaches

System Design: How to Think

GenAI & ML: How to Think

In the Interview

  • Thinking out loud (Pro): Two transcripts of the same interview, one silent and one narrated, plus the phrases, timing and trade-off talk that turn your thinking into marks.
  • What to do when you are stuck (Pro): Ten concrete moves that get you unstuck, and a full stuck-to-unstuck story on a problem where the obvious pattern fails.
  • Debugging under pressure (Pro): A calm, repeatable way to find bugs in live interviews and online assessments, the bug classes that cause most failures, and OA tactics for HackerRank and CodeSignal style tests.

Behavioral Interviews

  • What behavioral rounds really test (Pro): The signals interviewers score in a behavioral or HR round, the red flags that sink good candidates, and how expectations change from freshers to experienced engineers.
  • The STAR method, with weak vs strong answers (Pro): Situation, Task, Action, Result (plus Learning): how to structure any "tell me about a time" answer, where to spend your time, and the same story told badly and well.
  • Build your story bank (Pro): Find six to eight true stories in your projects, internships and college life, map each to the competencies it proves, and fill in a template you can rehearse from.
  • The common questions, answered well (Pro): Tell me about yourself, conflict, failure, leadership without authority, a tight deadline and why this company: what each one listens for, with a weak and a strong sample answer.
  • Amazon's Leadership Principles round (Pro): How Amazon uses its Leadership Principles in interviews, eight principles explained in plain words with example questions and fresher-friendly story fits, and how to stretch your bank across them.
  • The HR round in Indian placements (Pro): What the HR round checks in campus and lateral hiring, and honest, practical answers on why we should hire you, relocation, bonds and service agreements, gaps, backlogs, salary and negotiation.