Prasoon Soni

All writing

DSA or development first? Do both: a year-wise schedule

· 7 min read · DSA, Placements, Roadmap

“Should I do DSA first or development first?” is the question almost every CS student asks. The honest answer: don’t pick one. Learn one language for 30 days, then do both every day, and change the ratio depending on what you are preparing for. Here is that plan, year by year.

30days, then both
Topic
DSA · development · placements
For
College students in any year
Edition
November 2026

TL;DR

  • Only DSA leaves your resume without a project. Only projects gets you stuck in the online test that most campus drives start with.
  • First 30 days: learn one programming language properly. Any of C++, Java or Python works.
  • Every day after that: about 1 hour of DSA (2 problems) and 1–2 hours on one project.
  • 3 months before placements: shift most of your time to DSA and mock interviews. Applying to startups? Shift it to your project instead.
30
days on one language before anything else
1 h + 1–2 h
DSA + project, every day
3
months before placements: flip the ratio

Every number in this post is a recommendation, not a statistic: a plan that has worked for students I know. Adjust it to your college’s calendar.

Why picking only one costs you

Campus hiring usually has two kinds of filters. The first round is often an online test: a few coding problems under a timer. Later rounds look at you as an engineer: what you have built, how you think about it, how you debug it.

Only DSA

You clear the online test, then the interviewer asks “what have you built?” and the projects section of your resume is empty. Startups and many product companies filter you out right there.

Only projects

Your GitHub looks great, but the first round is a timed coding test. Without regular problem practice you get stuck on the first question and never reach the round where your projects matter.

Doing one fully and then the other usually means a year spent on the half that only gets you through some of the rounds. Doing both a little every day is slower per topic but never leaves a gap.

First 30 days: one language

Before DSA or projects, you need one language you can think in. Pick one and stay with it for 30 days.

LanguageGood forWatch out for
C++DSA and competitive programming: fast, with the STL for ready-made data structuresMore syntax to learn; fewer beginner-friendly web stacks
JavaDSA and backend development (Spring); common in campus interviewsVerbose; set up your editor well
PythonFastest to write; great for backend, scripting and AI workSlower at run time on some tight problems; check your target tests allow it
  1. 1

    Days 1–10

    Syntax, variables, conditions, loops, functions. Write small programs every day.

  2. 2

    Days 11–20

    Arrays, strings, maps / dictionaries, and the language’s built-in collections.

  3. 3

    Days 21–30

    Classes and objects, file input, error handling. Solve your first 10–15 easy problems.

After that: the daily split

From day 31, every day has two blocks. Keep them separate so one doesn’t swallow the other.

Block 1 · DSA, about 1 hour

  • Solve 2 problems on the topic you are learning that week.
  • If you are stuck for 25–30 minutes, read the approach, then write the code yourself from scratch.
  • Keep a short note per problem: the pattern, and the mistake you made.

Block 2 · Development, 1–2 hours

  • Work on one project at a time, in one stack, until it is deployed.
  • Pick a real problem (something your class or college actually needs), not a tutorial clone.
  • Commit every day you work on it, and write a README that says what it solves.

Short on time? Keep the 2 problems and cut the project block to 30 minutes. A small daily streak beats a big weekend binge.

The year-wise schedule

The daily split stays the same; what changes across the four years is the share of your coding time each side gets. These shares are a plan, not a rule.

YearDSA / devFocusDone when
Year 1~70% / ~30%One language, then DSA basics: arrays, strings, hashing, recursion, sorting. Small projects to practise the language.You solve easy problems on your own and have 2–3 small projects on GitHub
Year 2~55% / ~45%Core DSA: linked lists, stacks, queues, trees, graphs, binary search. One real project in one stack, deployed.Medium problems on most topics, one live project with a README
Year 3~45% / ~55%Internship season: a bigger project (auth, database, deployment), then DSA revision by pattern. Apply for internships.A project you can talk about for 20 minutes, internship applications out
Year 4~75% / ~25%Placements: DSA revision, timed online-test practice and mock interviews. Keep the project running and polished.You clear timed tests and have done several mock interviews

Year 1 · Foundations

The 30-day language block, then DSA basics in the order arrays → strings → hashing → recursion → sorting → binary search. Projects are small: a CLI tool, a calculator, a simple website. The goal is comfort, not a portfolio.

Year 2 · Both, properly

Core data structures (linked lists, stacks, queues, trees, heaps, graphs) at 2 problems a day, and your first real project in one stack: a backend with a database, or a full-stack app, deployed with a live link.

Year 3 · Internship year

Development gets slightly more time: one bigger project with authentication, a database and deployment, the kind you can explain in an interview. DSA moves to revision by pattern (two pointers, sliding window, BFS/DFS, dynamic programming). Start applying for internships.

Year 4 · Placements

DSA takes most of the time again, plus timed tests and mock interviews (see the next section). Your project stays live and polished; you only fix and improve it.

Three months before placements

Around 3 months before your placement drives start, flip the daily ratio towards DSA.

  1. 1

    DSA, most of your time

    Revise by pattern, not by random problems. Re-solve the ones you got wrong before.

  2. 2

    Timed online tests

    At least once a week, solve 2–3 problems under a timer, the way the first round works.

  3. 3

    Mock interviews

    Explain your approach out loud to a friend or a senior, then code it. Interviews test how you think, not only whether the code runs.

  4. 4

    Project, maintenance only

    Keep it deployed, fix bugs, and prepare a 2-minute explanation of how it works and what you would change.

If you are aiming for startups

Many startups care more about what you have shipped than about a timed test. If that’s your target, flip the ratio the other way: more project time, a little DSA every day to stay sharp.

  • Ship features end to end: database, API, UI, deployment.
  • Show users or usage if you have them (even 20 classmates using your app counts).
  • Keep 1 problem a day so a coding round doesn’t catch you cold.

What a normal week looks like

DayDSA (~1 h)Development (1–2 h)
Mon–Fri2 problems on this week’s topicOne feature or fix on your project
SaturdayRevise the week: re-solve 2 problems you got wrongLonger session: deploy, write the README, clean up
SundayRest, or one timed contestPlan next week’s topic and feature

Free resources

ForResourceWhat it gives you
DSA practiceLeetCodeProblems by topic and difficulty, plus weekly contests
DSA theoryGeeksforGeeksExplanations of every data structure and algorithm
Roadmapsroadmap.shStep-by-step roadmaps for backend, frontend and more
DeployingGitHub Student Developer PackFree developer tools and credits for verified students

Caveats

  • The hours and shares here are a plan, not data from a study. If you have exams or a heavy semester, shrink both blocks rather than dropping one.
  • College calendars differ: some start placements in the 7th semester, some earlier. Count your “3 months before placements” from your own college’s dates.
  • The language doesn’t decide your placement. Check that the tests you are targeting allow your language, then stop switching.

FAQ

I am already in Year 3 and have done neither. Is it too late?
No. Do the 30-day language block if you need it, then run the daily split with a slightly bigger DSA share. Build one solid project instead of several small ones.
How many DSA problems do I need before placements?
There is no official number. Aim to cover every major pattern and to solve medium problems on your own under a timer; that matters more than a count.
Web development or app development for my project?
Either works. Pick the one you will actually finish and deploy. A live web app is usually the easiest to share with a recruiter.
Can I do competitive programming instead of DSA practice?
Competitive programming builds the same skills and more. Just keep some interview-style practice too: explaining your approach matters in interviews.

Glossary

DSA
Data structures and algorithms: the problem-solving part of coding interviews.
Online test (OA)
A timed coding test, often the first round of a campus drive.
Mock interview
A practice interview with a friend, senior or mentor playing the interviewer.
Deploy
Putting your app on a server so anyone can open it with a link.
Pattern
A family of problems solved the same way, like two pointers or sliding window.