Anthropic—the company that builds Claude—sends every engineering candidate an email before their interview: “Note that use of AI tools during this interview is not permitted.” Meanwhile, Meta hands you Claude, GPT-5, and Gemini inside the interview and says “go ahead, use them all.” Both companies still test you on algorithms and data structures. Google puts “experience with data structures and algorithms” in every job posting, from intern to senior staff. OpenAI does the same. So if the companies building AI still want you to know algorithms, what does that tell us about what actually matters in 2026?

    Left column "The Narrative" (Coding is dead, DSA is obsolete). Right column "The Reality" (Job postings from Anthropic, OpenAI, Meta showing coding interview, algorithms, data structures)
    The Great Contradiction infographic — Narrative vs Reality

    1. The Great Contradiction

    Tech Twitter and LinkedIn repeat the same message: coding is dead, DSA is dead, just learn to prompt. Agents will write all your code. Anthropic’s CEO said that 90% of code would be AI-generated—and practically, we’re getting there. AI tools are writing a lot of code.

    But here’s the contradiction. Anthropic—the company building Claude—still hires engineers and still asks DSA questions. OpenAI requires “strong foundation in data structures, algorithms, and software engineering principles” for roles like Research Engineer and ML Engineer. Google’s Software Engineering Intern posting lists “experience with data structures and algorithms” as a core requirement. Their Senior SWE role for Agentic Planning and Memory demands 5 years of DSA experience—even on an AI/agents role. Staff SWE for AI Data requires 8 years.

    Don’t blindly believe social media. Check job postings at OpenAI, Meta, Google, and Anthropic yourself. The reality differs sharply from the narrative.

    2. What’s Actually Changing

    Companies like Meta are experimenting with AI-assisted coding interviews. Instead of “here’s a LeetCode medium, solve it on a whiteboard,” they let you use AI tools—sometimes state-of-the-art models—during the interview. Meta’s format includes a 60-minute CoderPad with an AI-assist chat window, multi-file codebase, and access to models like GPT-4o mini, GPT-5, Claude Sonnet, Gemini, and Llama. Around 20–30% of CoderPad customers now use AI in interviews, with over 35,000 AI-assisted interviews run.

    What is changing?

    If you hate DSA, that might sound exciting. “Finally, no more dynamic programming!” Not exactly. These AI-assisted interviews still test algorithms and data structures. You still need to know graph traversals, hash maps, when to use BFS vs DFS. The knowledge hasn’t gone away.

    What’s changed is the format. You’re no longer tested purely on writing a syntactically correct solution from memory. You’re tested on whether you can work with AI to arrive at a correct, performant, well-tested solution. The companies doing this aren’t making it easier—they’re making it harder. If you have an AI assistant, expectations go up. Problems get more complex. The bar for “good” shifts.

    AI-assisted means you need to know enough to evaluate what the AI gives you. That’s a higher bar, not a lower one.

    3. The Bar Didn’t Drop — It Shifted

    In a traditional coding interview, the implicit test was: can you recall an algorithm, implement it correctly, and optimize it? Syntax, logic, complexity analysis.

    In an AI-assisted interview—or any modern engineering role—you’re evaluated on different criteria:

    AI elevates the bar
    • Correctness: Not just “does it pass test cases,” but “did you verify it’s solving the right problem?” People leaning heavily on AI often skip this. They get code that runs and assume it’s correct.
    • Judgment: Can you look at AI-generated code and tell if it’s good? Spot when it deleted something important? Identify an edge case it missed? Explain why one approach beats another?
    • Communication: You must explain your reasoning. Why did you prompt the AI this way? Why accept this suggestion but reject that one? You can’t just paste AI output and say “done.”
    • Testing instinct: Unit tests, edge cases. Knowing that “works on the happy path” doesn’t mean “works.” With AI generating plausible-looking code in seconds, the ability to verify and validate is arguably the most important engineering skill.

    Data backs this up. CodeRabbit’s 2025 report found AI-generated code has 10.83 issues per PR vs 6.45 for human code—about 1.7x more. AI PRs contain 1.4x more critical issues and 1.7x more major issues. Cortex’s 2026 benchmark showed PRs per author up 20%, incidents per PR up 23.5%, and change failure rates up ~30%.

    Two Cautionary Code Examples

    Example 1: AI misses data type assumption. You ask AI to remove duplicate users from a list, keeping the first occurrence. AI returns code that works for lists of strings or integers. But if users are dictionaries, the code fails with TypeError: unhashable type: 'dict'. AI wasn’t wrong—you didn’t specify the input type. Your job is to understand use cases and edge cases.

    Example 2: AI deletes critical code during “optimization.” You ask AI to make a rate-limiting function faster. The original has rate limiting, input validation, and audit logging. AI “refactors” it to just execute the query and return the result. Tests pass with correct inputs. In production, the system breaks under load. AI didn’t know your constraints. You must communicate the full context.

    If you were hoping AI would make interviews easier, it’s doing the opposite for anyone who relied on memorization rather than understanding.

    4. The Skill That AI Can’t Replace

    So if the interview landscape is evolving but fundamentals aren’t going away, what skill actually matters? One word: thinking.

    Am I solving the right problem? Is the solution correct? What edge cases am I missing? What are the trade-offs? Is this maintainable? Can I explain this clearly?
    The Developer’s Mental Checklist

    Every competent engineer runs some version of a mental checklist when writing or reviewing code. It doesn’t matter if the code was AI-generated or hand-written. The checklist is the same:

    1. Am I solving the right problem? Someone can spend an hour building an elegant solution to the wrong problem.
    2. Is this correct? Not “does it compile” or “does it pass one test case.” Is it actually, provably correct?
    3. What are the edge cases? What am I missing? Where could this break?
    4. What are the trade-offs? Every solution has them. If you can’t articulate the trade-offs, you don’t fully understand it.
    5. Is this maintainable? Will someone—maybe future you—understand this in six months?
    6. Can I explain this? If you can’t explain your solution clearly, you probably don’t fully understand it.

    This habit of rigorous thinking separates engineers who use AI effectively from engineers who are just along for the ride. It’s exactly what interviews—traditional or AI-assisted—are trying to detect.

    5. So What Should You Actually Do?

    Three lanes—If Traditional DSA (Learn patterns, Practice problems, Master complexity). If AI-Assisted (Learn AI tools, Practice code review, Explain reasoning). Always Build These (Problem decomposition, Trade-off analysis, Reading others' code, System thinking)
    Your Interview Prep Roadmap infographic

    First: Look at the actual interview process for the companies you’re targeting. Not what Twitter says about interviews in general. What does this company do? If they run DSA rounds, prepare for DSA. If they run AI-assisted coding, prepare for that. Don’t let ideology about what interviews should be stop you from preparing for what they are.

    Second: Invest in fundamentals regardless. Algorithms, data structures, complexity analysis—this knowledge doesn’t expire. It’s the foundation that lets you evaluate what AI gives you. If anything, it’s more valuable now because it differentiates you from someone who can only prompt.

    For traditional DSA rounds: Learn patterns (two pointers, sliding window, trees, recursion, backtracking, dynamic programming). Practice a variety of problems. Master complexity analysis.

    For AI-assisted rounds: Learn AI tools—how to use different models, what prompts work, what outputs to expect. Provide context when prompting; include scenario, domain, and constraints. Practice code review: look at AI-generated code, find problems, ask “is it solving the correct problem?” Explain your reasoning and articulate trade-offs.

    Universal skills (both formats): Problem decomposition. Trade-off analysis. Reading others’ code. System thinking—how your application behaves at scale, how users interact, real-world constraints.

    Finally: Stop waiting for interviews to get easier. Every time the format changes, the bar adjusts. When AI tools enter the picture, the problems get harder to compensate. Companies aren’t trying to find people who can use AI—everyone can use AI. They’re trying to find people who can think. If you can think, you’ll be fine regardless of how the format evolves.

    Practice with high-quality problems. Use resources like Smart Interview Grind to build a custom plan based on your expertise level, target companies, and patterns you need to master.

    Video Explanation

    For a detailed discussion with real examples and deeper insights, check out the video:

    YouTube player

    If you need personalized guidance on preparing for coding interviews or building a study plan, you can schedule a one-on-one session to discuss your specific questions.

    For more coding solutions and resources, check out my GitHub repository and all my helpful resources.

    0 comments
    0 FacebookTwitterLinkedinWhatsappEmail
  • When working with binary trees, you often need to transmit or store them. You can’t send a visual representation—you need a string format that preserves the tree structure. This is where serialize and deserialize come in. Understanding these concepts is crucial for working with trees in real-world applications, from coding platforms to AI systems. Understanding the Problem You need to implement two functions: You control both processes, so you can choose any format that works efficiently. The goal is to minimize both space and time complexity. For example, a tree …

    0 FacebookTwitterLinkedinWhatsappEmail
  • Hard problems often require combining multiple algorithmic concepts. The minimum window substring problem demonstrates this perfectly—you need to merge the sliding window technique with the two-pointer approach to achieve an efficient linear-time solution. Let’s explore how these concepts work together to solve this challenging problem. Understanding the Problem You receive two strings: `s` (the source string) and `t` (the target string). Your task is to find the minimum window substring in `s` that contains all characters present in `t`. Important considerations: For example, If `s = “ADOBECODEBANC”` and `t = …

    0 FacebookTwitterLinkedinWhatsappEmail
  • Finding the median of two sorted arrays seems straightforward at first glance. However, this problem challenges you to achieve logarithmic time complexity, making it a favorite in coding interviews. Let’s explore different approaches and work toward the most efficient solution. Understanding the Problem You receive two sorted arrays in ascending order and need to find the median of the combined array. Mathematically, the median represents the middle element. For an odd number of elements, the median is the element at position . For an even number of elements, the median …

    0 FacebookTwitterLinkedinWhatsappEmail
  • Smart Interview Grind offers a personalized study plan for interview preparation, addressing common issues found in generic approaches like LeetCode Premium. By tailoring plans to individual timelines, skills, and target companies, it provides week-by-week problem schedules and company-specific insights. Users receive lifetime access, ensuring optimal preparation regardless of changing circumstances.

    0 FacebookTwitterLinkedinWhatsappEmail
  • Ever wondered where those zeros and ones that computers supposedly work with are actually located? While you’re writing code in high-level programming languages, the system quietly manipulates these binary digits behind the scenes. Understanding bit manipulation can make your programs very, very fast – and that’s exactly why tech companies love engineers who master these concepts. What Are Bits and Why Should You Care? A bit is the smallest form of memory that can be occupied in a computer. Simply put, it’s either set (1) or not set (0) – …

    0 FacebookTwitterLinkedinWhatsappEmail
  • Theory

    [LeetCode] – Update Matrix Solution

    by nikoo28
    5 minutes read

    In this problem, we are given a matrix consisting of 0s and 1s. The goal is to update matrix and compute the distance of each cell containing 1 to the nearest 0. The distance between two adjacent cells is considered to be 1. The key challenge in this problem is efficiently determining the minimum distance for each cell while avoiding unnecessary computations. Input:mat = [[0,0,0], [0,1,0], [1,1,1]]Output:[[0, 0, 0], [0, 1, 0], [1, 2, 1]]Explanation:Each cell containing 1 is replaced by its shortest distance to the nearest 0. Brute Force …

    0 FacebookTwitterLinkedinWhatsappEmail

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More