<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Aditya Shukla</title>
    <description>The latest articles on DEV Community by Aditya Shukla (@aditya_shukla_b8a48a7984a).</description>
    <link>https://dev.to/aditya_shukla_b8a48a7984a</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1650875%2F4c91449a-2194-4b20-8585-49f66299fd25.png</url>
      <title>DEV Community: Aditya Shukla</title>
      <link>https://dev.to/aditya_shukla_b8a48a7984a</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/aditya_shukla_b8a48a7984a"/>
    <language>en</language>
    <item>
      <title>How to Run a System Design Mock Interview That Actually Prepares You</title>
      <dc:creator>Aditya Shukla</dc:creator>
      <pubDate>Sun, 15 Nov 2026 03:53:01 +0000</pubDate>
      <link>https://dev.to/aditya_shukla_b8a48a7984a/how-to-run-a-system-design-mock-interview-that-actually-prepares-you-25p7</link>
      <guid>https://dev.to/aditya_shukla_b8a48a7984a/how-to-run-a-system-design-mock-interview-that-actually-prepares-you-25p7</guid>
      <description>&lt;p&gt;Most system design practice looks like this: watch a video, nod along, read a solution, feel ready. Then the real interview starts, someone asks "okay, what happens when this node dies?", and the whole design wobbles.&lt;/p&gt;

&lt;p&gt;Reading teaches you designs. A mock interview teaches you to defend one, live, while someone pushes back. That second skill is what the interview actually measures.&lt;/p&gt;

&lt;p&gt;Here's how to run a system design mock with a friend or a peer so it feels close to the real thing, plus a simple rubric to score it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The format: 60 minutes
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;5 minutes of setup.&lt;/strong&gt; The candidate reads the prompt. Nothing else.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;45 minutes of design.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;10 minutes of feedback.&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The interviewer prepares beforehand: reads the question, knows what a strong answer covers, and has three or four follow-ups ready. Without that, it turns into two people designing together, which is pleasant and nearly useless.&lt;/p&gt;

&lt;h2&gt;
  
  
  The candidate's 45 minutes
&lt;/h2&gt;

&lt;p&gt;A structure that holds up for almost any prompt:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Requirements (5 to 7 min).&lt;/strong&gt; What must it do? How many users? Read-heavy or write-heavy? How fresh does the data need to be? What can never be lost?&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Estimates (2 to 3 min).&lt;/strong&gt; Requests per second, storage per year. Rough numbers are fine. The point is that numbers drive your choices.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;API and data model (5 min).&lt;/strong&gt; A few endpoints and the main entities.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;High-level design (10 min).&lt;/strong&gt; Only the boxes you need, with one sentence on why each exists.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deep dive (15 min).&lt;/strong&gt; Pick the hardest part yourself: the hot path, consistency, the fan-out.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Trade-offs and failure (5 min).&lt;/strong&gt; What breaks at 10x? What if a cache node dies? What would you change with more time?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Step 5 is where levels separate. Strong candidates choose the deep dive themselves instead of waiting to be asked where the hard part is.&lt;/p&gt;

&lt;h2&gt;
  
  
  The interviewer's job
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Stay mostly quiet for the first 15 minutes.&lt;/strong&gt; Let the candidate drive.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Interrupt like a real interviewer would.&lt;/strong&gt; "Why that database?" "What's the read/write ratio?" "This region just went down. Now what?"&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Watch the clock.&lt;/strong&gt; Note how long each step takes. Twelve minutes on the API surface is one of the most common pacing problems.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Write down moments, not vibes.&lt;/strong&gt; "Didn't mention idempotency for payments" is useful feedback. "Seemed a bit unsure" isn't.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The rubric
&lt;/h2&gt;

&lt;p&gt;Score each area from 1 to 4:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Area&lt;/th&gt;
&lt;th&gt;1 looks like&lt;/th&gt;
&lt;th&gt;4 looks like&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Requirements and scope&lt;/td&gt;
&lt;td&gt;Jumped straight into boxes&lt;/td&gt;
&lt;td&gt;Pinned down users, scale and constraints first&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;High-level design&lt;/td&gt;
&lt;td&gt;Core pieces missing&lt;/td&gt;
&lt;td&gt;Clear components, each one justified&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Data and storage&lt;/td&gt;
&lt;td&gt;Database picked by habit&lt;/td&gt;
&lt;td&gt;Choice tied to the access patterns&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Scale and trade-offs&lt;/td&gt;
&lt;td&gt;Only when prompted&lt;/td&gt;
&lt;td&gt;Named trade-offs unprompted&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Communication&lt;/td&gt;
&lt;td&gt;Hard to follow&lt;/td&gt;
&lt;td&gt;Drove the discussion, easy to follow&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Then give a hire signal (no, lean no, lean hire, hire) and two or three specific things to fix first. Not ten. Two or three.&lt;/p&gt;

&lt;h2&gt;
  
  
  Questions to practise with
&lt;/h2&gt;

&lt;p&gt;Start with the classics: URL shortener, rate limiter, news feed, chat app, notification service.&lt;/p&gt;

&lt;p&gt;Then move to questions that force a specific trade-off:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Ticket booking system:&lt;/strong&gt; consistency and locking&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ride-hailing backend:&lt;/strong&gt; location indexing and matching&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Metrics pipeline:&lt;/strong&gt; very write-heavy, with aggregation&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Payment system:&lt;/strong&gt; idempotency, audit trails, exactly-once thinking&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How often
&lt;/h2&gt;

&lt;p&gt;One mock a week while you prepare, and swap roles every time. The interviewer's chair is underrated: watching someone else rush into boxes is the fastest way to stop doing it yourself.&lt;/p&gt;

&lt;p&gt;If you don't have a regular partner, I built Practick for exactly this. It runs free &lt;a href="https://practick.io/system-design-mock-interview" rel="noopener noreferrer"&gt;system design mock interviews&lt;/a&gt; with other engineers, and every question comes with an interviewer guide and a scoring rubric. A friend with this post open on their second screen works just as well.&lt;/p&gt;

</description>
      <category>systemdesign</category>
      <category>interview</category>
      <category>career</category>
      <category>programming</category>
    </item>
    <item>
      <title>System design interviews with 0-3 years of experience: what to actually learn</title>
      <dc:creator>Aditya Shukla</dc:creator>
      <pubDate>Mon, 09 Nov 2026 09:05:27 +0000</pubDate>
      <link>https://dev.to/aditya_shukla_b8a48a7984a/system-design-interviews-with-0-3-years-of-experience-what-to-actually-learn-27ja</link>
      <guid>https://dev.to/aditya_shukla_b8a48a7984a/system-design-interviews-with-0-3-years-of-experience-what-to-actually-learn-27ja</guid>
      <description>&lt;p&gt;You don't need to have run Kafka in production to pass a system design round. You need to know why someone would reach for it, and what breaks if they don't.&lt;/p&gt;

&lt;p&gt;That's the part most prep advice skips. It hands you a list of components and a few famous designs to memorise. Then the interviewer asks "why not just use Postgres?" and the memorised diagram has no answer.&lt;/p&gt;

&lt;p&gt;Here's an approach that works when you have 0 to 3 years of experience and no big systems on your resume yet.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Learn the building blocks as trade-offs, not definitions
&lt;/h2&gt;

&lt;p&gt;About ten pieces show up in almost every round: load balancers, caches, queues, SQL vs NoSQL databases, replication, sharding, CDNs, rate limiters, object storage and search indexes.&lt;/p&gt;

&lt;p&gt;For each one, write down three things:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;what problem it solves&lt;/li&gt;
&lt;li&gt;what it costs (latency, money, complexity, consistency)&lt;/li&gt;
&lt;li&gt;what fails first when traffic goes 10x&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;"A cache makes reads fast" is a definition. "A cache makes reads fast until the data changes, and then you have to decide who is allowed to see stale data" is a trade-off. Interviews are graded on the second kind.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Borrow other people's experience
&lt;/h2&gt;

&lt;p&gt;You don't have production war stories yet. Engineering blogs are full of them. Discord, Uber, Netflix, Stripe and Cloudflare all write up real design decisions, usually because the first version broke.&lt;/p&gt;

&lt;p&gt;Read one a week and ask yourself: what would I have done, and where would it have broken? That question is the whole interview, practised slowly.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Do 8 to 10 classic problems end to end
&lt;/h2&gt;

&lt;p&gt;Not 50. Ten, done properly: URL shortener, rate limiter, chat app, news feed, notification system, file storage, ride matching, typeahead search, payment system and video streaming.&lt;/p&gt;

&lt;p&gt;"Properly" means you could talk through each one for 45 minutes:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Clarify:&lt;/strong&gt; who the users are, what scale, reads vs writes, what can be eventually consistent&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Estimate:&lt;/strong&gt; requests per second and storage per year. Rough numbers are fine.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;High level:&lt;/strong&gt; the boxes and the arrows&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deep dive:&lt;/strong&gt; one component in detail, usually the one the interviewer pokes at&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Failure:&lt;/strong&gt; a node dies, a region goes down, traffic spikes&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I keep a free list of &lt;a href="https://practick.io/system-design-interview-questions" rel="noopener noreferrer"&gt;132 system design interview questions&lt;/a&gt;, each with the opening prompt, what the round is really testing and the clarifying questions worth asking. No signup needed to read it. Start with the easy ones. They're easy on purpose.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Spend the first five minutes asking questions
&lt;/h2&gt;

&lt;p&gt;The most common way to lose a system design round early is drawing boxes in minute one.&lt;/p&gt;

&lt;p&gt;Take "design a URL shortener". Before anything else:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;How many new links a day, and how many redirects?&lt;/li&gt;
&lt;li&gt;Do links expire?&lt;/li&gt;
&lt;li&gt;Can users pick custom aliases?&lt;/li&gt;
&lt;li&gt;Do we need click analytics?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each answer changes the design. Asking shows the interviewer you know that, and it buys you thinking time.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Practise out loud, with someone who interrupts
&lt;/h2&gt;

&lt;p&gt;Reading a design and explaining it while someone asks "why?" every two minutes are different skills, and only the second one gets graded. Short version: set a 45-minute timer, give a friend a list of follow-ups, and swap roles next time.&lt;/p&gt;

&lt;p&gt;I wrote a longer post on this, including what to do when you have nobody to practise with: &lt;a href="https://dev.to/aditya_shukla_b8a48a7984a/how-to-practice-system-design-interviews-when-you-have-nobody-to-practice-with-41p0"&gt;How to practice system design interviews when you have nobody to practice with&lt;/a&gt;. If you need a partner, &lt;a href="https://practick.io" rel="noopener noreferrer"&gt;Practick&lt;/a&gt; (which I built) pairs you with one for free.&lt;/p&gt;

&lt;h2&gt;
  
  
  What interviewers are actually checking
&lt;/h2&gt;

&lt;p&gt;At 1 to 3 years of experience, nobody expects you to have designed Twitter. They're checking whether you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;ask what you're building before you build it&lt;/li&gt;
&lt;li&gt;make a choice and explain the trade-off, instead of listing every technology you know&lt;/li&gt;
&lt;li&gt;can go deep on one part when pushed&lt;/li&gt;
&lt;li&gt;think about failure without being prompted&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A simple design you can defend beats a clever one you can't.&lt;/p&gt;




&lt;p&gt;What's the follow-up question that caught you off guard in a system design round? Drop it in the comments.&lt;/p&gt;

</description>
      <category>systemdesign</category>
      <category>career</category>
      <category>interview</category>
      <category>beginners</category>
    </item>
    <item>
      <title>How to practice system design interviews when you have nobody to practice with</title>
      <dc:creator>Aditya Shukla</dc:creator>
      <pubDate>Fri, 18 Sep 2026 13:09:21 +0000</pubDate>
      <link>https://dev.to/aditya_shukla_b8a48a7984a/how-to-practice-system-design-interviews-when-you-have-nobody-to-practice-with-41p0</link>
      <guid>https://dev.to/aditya_shukla_b8a48a7984a/how-to-practice-system-design-interviews-when-you-have-nobody-to-practice-with-41p0</guid>
      <description>&lt;p&gt;System design is the round people most often fail, and it is also the round that is close to impossible to practice alone. With DSA you at least get a green checkmark telling you that you were right. System design has no checkmark. You draw some boxes, you feel reasonably good about them, and you have no idea whether an interviewer would have shredded you in minute nine.&lt;/p&gt;

&lt;p&gt;I have been on both sides of this round, and the gap between people who practice alone and people who practice out loud is bigger here than anywhere else in the loop. Here is what actually works when you do not have a partner, and what to do about the part that genuinely needs one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why solo system design practice quietly fails
&lt;/h2&gt;

&lt;p&gt;Reading system design content feels productive. You finish an article about how Instagram handles the feed fanout, you understand it, and you file it away as knowledge. Then in the interview someone says "design a notification service" and you freeze, because understanding an explanation and generating one under time pressure are different skills that share almost nothing.&lt;/p&gt;

&lt;p&gt;The specific things that break in a real round:&lt;/p&gt;

&lt;p&gt;You do not state assumptions, because alone in your head the assumptions were obvious. The interviewer now thinks you did not consider them.&lt;/p&gt;

&lt;p&gt;You go straight to the fun part. Most people jump to the database schema or the sharding strategy, because that is the part they read about. The interviewer wanted requirements first, and quietly marked you down before you drew a single box.&lt;/p&gt;

&lt;p&gt;You cannot defend a choice. It is easy to write "use Kafka" on a diagram. It is very different to answer "why not just poll the database every five seconds" without saying "because Kafka is better."&lt;/p&gt;

&lt;p&gt;You have no sense of pacing. Forty five minutes disappears far faster than people expect. Alone, you never practice the triage of what to skip.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you can genuinely do alone
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Narrate out loud, to an empty room.&lt;/strong&gt; This feels ridiculous and it is the single highest leverage thing on this list. Set a timer for forty five minutes, pick a prompt, and talk through the whole thing as if someone is listening. If you cannot fill forty five minutes talking, you have found the gap.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Record yourself and watch it back.&lt;/strong&gt; Painful, effective. You will catch the rambling, the long silences, and the moments you asserted something with no justification. You will catch things a friend would be too polite to mention.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Write the requirements section before touching the design.&lt;/strong&gt; Functional requirements, non functional requirements, scale estimates. Force yourself to spend the first ten minutes there. Most people's instinct is to rush this, and in an interview it is where a lot of the signal lives.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Interrogate your own diagram.&lt;/strong&gt; After you finish, go back through every component and ask why it exists, what happens when it dies, and what it costs. If you cannot answer, that is exactly where the interviewer will push.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pick prompts with real constraints.&lt;/strong&gt; "Design Twitter" is too vague to be useful practice. "Design Twitter's timeline for 300 million daily users where a celebrity has 100 million followers" forces the actual tradeoff, which is the fanout problem.&lt;/p&gt;

&lt;h2&gt;
  
  
  The part that genuinely needs another person
&lt;/h2&gt;

&lt;p&gt;Everything above makes you better at producing a design. None of it prepares you for the thing that actually decides the round, which is someone pushing back on you in real time.&lt;/p&gt;

&lt;p&gt;A real interviewer interrupts. They ask why you picked that datastore. They say "your service just got ten times the traffic, what breaks first." They follow the thread you were hoping they would not notice. You cannot simulate that alone, because you cannot surprise yourself, and you will never ask yourself the question you do not want to answer.&lt;/p&gt;

&lt;p&gt;Options, honestly assessed:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A friend who is also interviewing.&lt;/strong&gt; Free and underrated, with one real problem: friends are bad at being blunt. Fix it by asking for a hire or no hire verdict and three specific failures, rather than "how did I do."&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Paid platforms.&lt;/strong&gt; interviewing.io and similar will put you in front of experienced engineers. Genuinely good, genuinely expensive if you want volume.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Peer platforms.&lt;/strong&gt; You take turns, so you interview someone else and then get interviewed. The underrated part is that interviewing other people is itself excellent practice, because watching someone else flail teaches you what flailing looks like from the other chair.&lt;/p&gt;

&lt;p&gt;I ended up building one of these, &lt;a href="https://practick.io/" rel="noopener noreferrer"&gt;Practick&lt;/a&gt;, because the free peer option kept shrinking and I wanted it to still exist. It matches you with another engineer automatically and includes an interviewer guide on each question, since the usual failure mode of peer practice is that the person interviewing does not know what to push on. That one is mine, so discount it accordingly, but the general category matters more than which one you pick.&lt;/p&gt;

&lt;h2&gt;
  
  
  A practice loop that works
&lt;/h2&gt;

&lt;p&gt;If I had to compress this into a weekly routine:&lt;/p&gt;

&lt;p&gt;Two solo sessions, timed and narrated out loud, recorded. Focus on requirements and pacing.&lt;/p&gt;

&lt;p&gt;One session where you are the interviewer for someone else. You will learn more than you expect.&lt;/p&gt;

&lt;p&gt;One session where you are the candidate and someone pushes back.&lt;/p&gt;

&lt;p&gt;Then, importantly, write down the specific question that broke you each time. After a month you will have a list, and that list is your actual study plan, not whatever generic topic list you started with.&lt;/p&gt;

&lt;h2&gt;
  
  
  The uncomfortable summary
&lt;/h2&gt;

&lt;p&gt;Most people preparing for system design are optimizing the part that feels like studying, because it is comfortable and measurable. The round is decided by the part that feels uncomfortable, which is talking through a design while someone questions it.&lt;/p&gt;

&lt;p&gt;You can do a surprising amount alone if you are willing to talk to an empty room and watch the recording. But at some point you need someone on the other side who is willing to ask the question you have been avoiding.&lt;/p&gt;

</description>
      <category>systemdesign</category>
      <category>interview</category>
      <category>career</category>
      <category>programming</category>
    </item>
    <item>
      <title>How interviewers actually ask Two Sum, and the four follow ups that matter more than the answer</title>
      <dc:creator>Aditya Shukla</dc:creator>
      <pubDate>Thu, 17 Sep 2026 12:05:21 +0000</pubDate>
      <link>https://dev.to/aditya_shukla_b8a48a7984a/how-interviewers-actually-ask-two-sum-and-the-four-follow-ups-that-matter-more-than-the-answer-1oc0</link>
      <guid>https://dev.to/aditya_shukla_b8a48a7984a/how-interviewers-actually-ask-two-sum-and-the-four-follow-ups-that-matter-more-than-the-answer-1oc0</guid>
      <description>&lt;p&gt;Two Sum is the first problem almost everyone learns, and most people stop preparing for it the moment they can write the hash map solution in their sleep. That is a mistake, because nobody who has actually interviewed candidates asks Two Sum to see if you know the hash map trick. They ask it because it is a five minute warm up that opens the door to four follow ups, and the follow ups are where you are actually being scored.&lt;/p&gt;

&lt;h2&gt;
  
  
  The four follow ups
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. "What if the array is sorted?"&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is checking whether you default to the same tool every time or whether you actually look at the input before reaching for a hash map. A sorted array means two pointers gets you O(1) space instead of O(n), and an interviewer wants to see you notice that on your own, not after a hint.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. "What if there are duplicate values?"&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is checking whether your solution quietly breaks on an edge case you did not think about out loud. Walk through what happens to your hash map when the same value appears twice before you get asked, not after.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. "What if I asked you to return all pairs, not just one?"&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This changes the shape of the problem. Your early return solution now has to become a collection step, and the interviewer is watching whether you can adapt an existing solution instead of throwing it out and starting over.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. "Can you do it without extra space?"&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;For an unsorted array this is often impossible in less than O(n log n) time, and the correct answer is to say so and explain the tradeoff, not to awkwardly force a bad solution. Interviewers use this one specifically to see if you will push back on a constraint that does not make sense, which matters more in a real job than getting every question right.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this matters more than grinding more problems
&lt;/h2&gt;

&lt;p&gt;None of these four follow ups require knowing a new algorithm. They require having sat across from someone who asks them, often enough that reacting to a follow up feels normal instead of stressful. Reading the follow up in a blog post and living through it live are different skills, and only one of them is what actually gets tested.&lt;/p&gt;

&lt;p&gt;That is the gap that solo practice cannot close, and it is why I ended up building &lt;a href="https://practick.io" rel="noopener noreferrer"&gt;Practick&lt;/a&gt;, a free peer to peer mock interview platform. You get matched with another engineer, one hour you are the candidate and one hour you are the interviewer, so you spend time on both sides of exactly this kind of exchange instead of only ever answering.&lt;/p&gt;

</description>
      <category>interview</category>
      <category>career</category>
      <category>coding</category>
    </item>
  </channel>
</rss>
