GO திசைGoDisai

← Crack the Interview bundle

Part of the Crack the Interview bundle

DSA Patterns

Self-paced Intermediate about 40 hours 23 chapters

₹699 one year, all three courses

Enrolment opens soon. Follow our WhatsApp channel to hear first.

See what the bundle includes

Most coding rounds reuse a small set of ideas. Two pointers, a sliding window, a monotonic stack, binary search on the answer and a few more cover most of what you will be asked. This course teaches the 23 patterns behind them, one session each, so you recognise the pattern instead of memorising answers.

Every session starts with a story anyone can follow, then a diagram, a step-by-step trace and a template you can reuse. It ends with problems from easy to hard, common mistakes and the signals that tell you this pattern fits.

It comes with the coding practice tracker. Take the placement quiz to find your level, read the pattern guides, then solve problems by pattern while the tracker brings back the ones you should solve again so they stay solved.

What is inside this course

  • 23 patterns, one session each, with diagrams and traces
  • A reusable template for every pattern
  • The coding practice tracker with spaced re-solving
  • The placement quiz and pattern guides
  • Problems from easy to hard for every pattern

Who it is for

Anyone preparing for coding interviews who wants patterns, not memorised answers.

What you will be able to do

  • Recognise the 23 core patterns
  • Write a reusable template for each
  • Solve new problems by pattern

Syllabus, start to finish

5 modules, 23 chapters.

1Arrays and strings6
  1. Two PointersImagine a long line of children sorted from the shortest to the tallest.
  2. Sliding WindowYou are on a train and look through a window frame.
  3. Prefix SumYou keep coins in a long row of piggy banks.
  4. Hash MapAt a cinema cloakroom you hand over your coat and get a numbered ticket.
  5. Cyclic SortFive children wear jerseys numbered 1 to 5.
  6. Matrix ManipulationA chocolate bar is a grid of squares.
2Linked lists and searching5
  1. Fast and Slow PointersTwo children run on a track.
  2. Reversing a Linked ListA line of children, each holding the hand of the child in front.
  3. Binary SearchI think of a number between 1 and 100.
  4. Monotonic StackChildren stand in a line for a class photo.
  5. Overlapping IntervalsEvery child has a play slot, Asha 1pm–3pm, Ravi 2pm–6pm, Mei 8pm–10pm.
3Trees and graphs4
  1. Breadth-First Search (BFS)Drop a stone into a pond.
  2. Depth-First Search (DFS)You are in a maze holding a ball of string.
  3. TreesA family tree has one grandparent at the top, children below, grandchildren below them.
  4. GraphsPicture a playground.
4Recursion and optimisation4
  1. BacktrackingYou are choosing an outfit, a shirt, then trousers, then shoes.
  2. GreedyYou must pay 63 rupees and want to use as few coins as possible.
  3. Dynamic ProgrammingYou are climbing a staircase and you can take 1 or 2 steps at a time.
  4. Bitwise XORThink of a light switch.
5Heaps and design4
  1. Top K ElementsA talent show must pick the 3 best singers from 1,000 contestants.
  2. K-way MergeThere are three queues of children, and each queue is already sorted by height (short at the front).
  3. Two HeapsChildren arrive one at a time and you must always be able to say who is standing in the exact middle when they are sorted by height.
  4. Design Data StructuresYou are building your own toy box with special rules, such as, "the toy I played with last is the easiest to grab, and when the box is full the toy I haven't touched f...

What you get in the Crack the Interview bundle

  • System Design courseSeventy short concept chapters with diagrams, worked numbers and code you can run.
  • Fifty case studiesFrom a URL shortener to a stock exchange matching engine, each one worked step by step.
  • System Design playgroundBuild every case study yourself. Decide first, then compare with the guided answer.
  • DSA Patterns courseThe 23 patterns behind most coding problems, one session each, with a template you can reuse.
  • Coding practice trackerProblems grouped by pattern, with spaced re-solving so a solved problem stays solved.
  • Placement quizFind your level on day one and get the next problems picked for you.
  • Coding pattern guidesA template and a worked example for every common coding pattern.
  • Design Patterns courseThe 18 patterns interviewers ask about, with runnable Python before and after each one.
  • Quizzes and flash cardsA short quiz after chapters and spaced flash cards so what you read stays with you.
  • Cheat sheets and question banksOne-page revision sheets and the questions you are likely to be asked.
  • Chapter Q and AAsk a doubt under any chapter and read the answers others got.
  • New chapters during your yearAnything added to these courses while your access is open is yours too.

One payment, 365 days of access to all of it from the day you pay. Buy again before it ends and the new year is added to what is left.

₹699

Enrolment opens soon. Follow our WhatsApp channel to hear first.