Data Structures & Algorithms · from absolute zero

Learn DSA from nothing.
Clear the coding round.

DSA is the coding test almost every software job opens with. This course teaches it from the very first idea. You do not need to know what the letters stand for, and you do not need to be good at maths. Every technical word is explained the first time it appears.

arraysstringshash mapstwo pointerssliding windowsortingbinary searchstacks & queueslinked liststreesgraphsrecursiondynamic programming
89 lessons across 14 tiers~65 patterns, not 500 random problemsA real code editor that runs and judges your codeFree, forever

How a lesson works

You are not reading a book. Every idea ends with you writing real code in a real editor, and the course checks it the way a company's test would.

1
Play with it first

An explorable you can poke at, before a single line of explanation.

2
Learn why it works

Plain English. Every technical word explained the first time it appears.

3
Practise

Predict what the code does, fill in the blank, put the lines in order. Auto-checked.

4
Solve it properly

A real problem in a real editor. Asked first whether you understand the question. Say no and it walks you through the question, never the answer.

5
Watch your own code run

Step through what you wrote, line by line, with your variables shown as they change.

6
Then three more like it

The same idea in different clothes. The third one is disguised. Spotting it is how you know it stuck.

Your code runs in a sandbox. An endless loop cannot freeze your browser. It gets stopped and told to you as Time Limit Exceeded, the same words a real assessment uses. And a solution that is correct but too slow fails here too, which is the point.

Where this takes you

Mass-hire roundthe coding test most companies open withTCS Ninja · Infosys SE · Wipro · Accentureabout 8 weeks
Specialist roundthe harder track at those same companiesTCS Digital · Infosys DSE · product companiesabout 19 weeks
The whole interviewthe conversation and the theory tooOOP, DBMS and operating systems alongside the codeabout 23 weeks

You do not have to finish to benefit. Many people clear the first round, start working, and come back for the second. The specialist track is a different set of questions at the very same companies, and this is what prepares you for it.

You are here

lesson 1 of 6

Before You Write Any Code

What DSA actually is, why companies ask it, how to read a problem statement, and why the slow answer counts.

  1. 1What is DSA, in plain Englishstart here →
  2. 2Why every company asks this
  3. 3What a coding problem is
  4. 4How to read a problem statement
  5. 5Brute force first
  6. 6Your map: patterns, not problems

What comes after

tier 1Just Enough JavaScriptopen →
tier 2Cost: Time and Spaceopen →
tier 3Array & String Patternsopen →
tier 4Sort & Searchopen →
Mass-hire round, the coding test most companies open with
tier 5Structures You Build Yourselfopen →
tier 6Treesopen →
tier 7Recursion & Backtrackingopen →
tier 8Graphsopen →
tier 9Heaps & Top-Kopen →
tier 10Dynamic Programmingopen →
Specialist round, the harder track at those same companies
tier 11Greedy, Bits & Mathopen →
tier 12The Interview Itselfopen →
tier 13CS Fundamentalsopen →
The whole interview, the conversation and the theory too

What you have earned

0
lessons done
0
problems solved unaided
0
patterns mastered
next up
Reads a problem properly

You pull input, output, rules, size and edge cases out of a statement before writing code.

Badges here say what you can do, not how many pages you turned, and each one states plainly what it does not yet cover. A badge that overstates is worse than no badge when you are deciding whether to apply.

Go anywhere

Nothing is locked. Jump to any lesson, or straight to the part of it you want.

0/89 lessons · 86 problems

Best on a laptop. The solving screen puts the problem, your code and the results side by side.