Anvil Career
Back to Blog
INTERVIEW PREP

How Much DSA Do You Need for a Software Internship?

•8 min read

Most students grind DSA without a stopping point. They solve 400 problems, still freeze in an online assessment, and assume the answer is more problems. The real question is not "how many" but "how much for the companies I am actually targeting." This post gives you tier-wise benchmarks, the four-topic minimum base, and a concrete stop signal so you know when DSA is done and projects should take over.

How many DSA problems do you need for a software internship?

For mass-hiring service companies, 100–150 well-revised problems across arrays, strings, hashing, and recursion are usually enough. For product companies and GCCs, the working range is 250–350 problems with trees, graphs, DP, and heaps included. The number is a proxy. What actually decides selection is whether you can recognise a pattern in an unseen problem within the first two minutes.

That distinction matters because the two company tiers test different things. Service-company rounds filter for basic coding competence and aptitude. Product rounds filter for problem-solving under ambiguity. Solving 500 problems on one platform does not prepare you for the second if you never timed yourself or explained your approach out loud.

DSA BENCHMARKS BY TARGET COMPANY TIER

Target tierProblems (revised)Core topicsTypical round format
Mass-hiring service (TCS, Infosys, Wipro)100–150Arrays, strings, hashing, basic recursionAptitude + 1–2 easy/medium coding problems
Mid-tier product / funded startup150–250+ two pointers, sliding window, stacks, queues, treesOA + 1–2 technical rounds
Product / GCC (Amazon, Google, Microsoft, Flipkart, Uber)250–350+ graphs, BFS/DFS, DP, heapsOA + 2–3 technical rounds, medium difficulty
Non-CS branch, any tierSame as tier targetSame core, heavier project weightSame rounds, branch bias in shortlisting

Read the table as a floor, not a ceiling. If you are at 90 problems and targeting a service company, you are close. If you are at 200 and targeting a product company, you are not done — but you are also not far, provided the 200 were spread across the right topics.

Which DSA topics are actually asked in internship interviews?

Four topics clear most first-round online assessments: arrays and strings, hashing, two pointers with sliding window, and basic recursion. Add stacks and queues for mid-tier product roles. Trees, graphs, BFS/DFS, and one-dimensional DP enter the picture only for product companies and GCCs. Advanced structures — segment trees, tries, complex graph algorithms — are rarely asked at internship level.

The trap is topic coverage without depth. A student who has "done" graphs by watching three videos and solving two problems will fail a BFS question in a timed round. A student who has solved fifteen graph problems and can trace BFS on paper will clear it. Depth on fewer topics beats shallow coverage every time.

DSA topic priority layers for software internship preparation MINIMUM BASE — clears most OAs Arrays · Strings · Hashing · Two pointers · Sliding window · Basic recursion MID-TIER PRODUCT — adds round depth Stacks · Queues · Binary trees · Sorting variants PRODUCT / GCC — selective rounds Graphs · BFS/DFS · 1-D DP · Heaps

If you are unsure where you currently sit, an honest benchmark against real hiring data is more useful than guessing. You can check your DSA readiness against the topics and difficulty bands that actually appear in internship assessments.

How long should DSA preparation take before internship season?

Eight to twelve weeks at two to three hours a day is the realistic window for internship-level readiness. Beyond that, marginal returns drop sharply. The first four weeks build the minimum base. Weeks five to eight add trees, graphs, and DP. Weeks nine to twelve are for timed practice and revision, not new topics.

Compressing this into four weeks rarely works unless you already have strong fundamentals from coursework. Stretching it to six months is worse — you forget the early patterns and end up re-solving problems you already did. The timeline is not the constraint. Consistency is.

A weekly structure that survives college

  • Monday to Wednesday: two new problems per day, one easy and one medium, from the current topic.
  • Thursday: revisit problems from the previous two weeks using your problem log.
  • Friday: one timed session — two problems in 60 minutes, no hints.
  • Weekend: one contest or a mixed set of five problems across topics already covered.

This is roughly 10–12 problems a week, which lands you at 120–140 problems in twelve weeks. That is enough for service companies and close enough to start applying for mid-tier product roles. If you are targeting a GCC, extend to sixteen weeks rather than doubling your daily load.

Why solving 500 problems without revision fails

Solving a problem once teaches you that problem. Solving it again after a gap teaches you the pattern. Most students skip the second step because it feels like wasted effort — the problem is already "done." That is exactly why they blank on a slightly modified version in an interview.

A problem log fixes this. For every problem you solve, record four things: the pattern or technique used, the mistake you made, the time it took, and a revisit date two weeks out. When the revisit date arrives, solve it from scratch without looking at your old code. If you clear it in under 20 minutes, retire it. If not, push the revisit date another two weeks.

This is not a productivity hack. It is the mechanism by which pattern recognition becomes automatic. Interviewers test recognition under time pressure, and recognition comes from repetition with spacing, not from volume.

DSA vs projects: what should you prioritise for internship applications?

Both matter, but the sequence matters more. DSA gets you through the assessment gate. Projects get you through the interview and shortlisting stage. If you have no DSA base, you never reach the round where projects are discussed. If you have DSA but no projects, you clear the assessment and then have nothing to talk about in the technical round.

The practical split: build the minimum DSA base first (100–150 problems), then shift 40% of your prep time to two strong projects. A project that solves a real problem, has a clean README, and is deployed beats five tutorial clones. Recruiters and interviewers can tell the difference in two questions.

For a deeper look at what counts as a strong project and how to present it, see this guide to projects that signal competence to recruiters. If you are preparing across the full pipeline — assessment, technical rounds, and HR — the software internship preparation guide covers the sequencing in more detail.

What is the stop signal for DSA preparation?

You are internship-ready when you can consistently solve an unseen medium problem in 25–30 minutes, explain the time and space trade-offs out loud, and handle one follow-up variation without panicking. That is the signal. Once you hit it, further grinding yields less than the same hours spent on projects or CS fundamentals.

Most students never define this signal, so they grind indefinitely. Then internship season arrives, they have 400 problems solved, no projects, and a resume that looks identical to a thousand others. The stop signal exists to prevent exactly that outcome.

When you reach it, shift your time. Spend 30% on DSA maintenance — one or two problems a day to stay sharp — and 70% on projects, operating systems and DBMS basics, and mock interviews. That is the mix that converts assessment performance into offers.

If you are preparing off-campus, the calculus changes slightly because there is no campus shortlisting to lean on. The off-campus placement strategy for tier-3 students covers how to sequence applications alongside DSA and project work.

Frequently asked questions

How many DSA problems should I solve for a software internship?

For service companies, 100–150 revised problems across arrays, strings, hashing, and recursion are typically enough. For product companies and GCCs, aim for 250–350 covering trees, graphs, DP, and heaps. Pattern recognition and revision matter more than the raw count.

Can I get a software internship without DSA?

Rarely for core SDE roles, since most internships use a coding assessment as the first filter. Non-SDE roles like QA, support, or data operations may skip heavy DSA. Startups hiring through portfolio or referrals sometimes do too, but that is the exception, not the path to plan around.

Is three months enough to prepare DSA for internships?

Yes, if you already know one programming language and can study two to three hours daily. Three months covers the core topics and 150–200 problems with revision. It is tight for advanced DP and graphs, so prioritise high-frequency patterns first and treat the rest as stretch material.

Which DSA topics are most important for internship interviews?

Arrays, strings, hashing, two pointers, sliding window, and recursion are the highest-yield. For product companies, add trees, BFS/DFS, basic DP, and heaps. Advanced structures like segment trees or complex graph algorithms rarely appear at internship level.

Should I focus on DSA or projects for internship applications?

Sequence them. Build a minimum DSA base of 100–150 problems to clear assessments, then invest in two strong projects to clear interviews and improve shortlisting. Projects differentiate you; DSA gets you through the gate. Doing only one of the two leaves a gap somewhere in the pipeline.

THE HONEST BENCHMARK

Stop counting problems and start counting patterns you can recognise cold. If you can solve an unseen medium in 30 minutes and explain the trade-offs, you are ready — regardless of whether your counter says 180 or 320. The students who get internships are not the ones with the highest solve count. They are the ones who knew when to stop grinding and start building.