Simplified DSA
  • LessonArrays and StringsData Structures
  • LessonLinked ListsData Structures
  • LessonStacks and QueuesData Structures
  • LessonHash TablesData Structures
  • LessonBinary Search TreesData Structures
  • LessonHeaps and Priority QueuesData Structures
  • LessonTries (Prefix Trees)Data Structures
  • LessonBig OAlgorithms
বাংলা

From your first array to interview patterns

See every step.Learn DSA by tracing it.

Free lessons for complete beginners: plain words, a small example traced by hand, and a demo you drive yourself, one step at a time.

Start with Arrays and Strings Browse all lessons

  • 16 lessons, basics to patterns
  • A demo you drive in every lesson
  • English and Bangla, free with an account

Drag the blocks into order, shortest to tallest. 13 pairs are still out of order.

By the numbers

Small enough to finish.

Every number here is counted from the lessons themselves.

Lessons
16From arrays to interview patterns.
Demos you drive
16Step, play, or type your own input.
Quiz questions
56Predict first, then see why.
Minutes in all
283Short lessons, one idea each.

What you get

Learn by doing

See all simulators

Simulators you drive yourself, with missions that each teach one idea.

Try one now

Test your knowledge

Short quizzes for every lesson. Wrong answers explain what they get wrong.

See all quizzes

An array holds 1,000 values. How many of them does the computer look at to read the one at index 742?

 

The path

Three parts, one path

Start with the shapes data takes, then the steps that act on it, then the patterns interviews reuse.

  1. 7 lessonsData StructuresWays to organize data so operations become easier to reason about.Starts with Arrays and Strings
  2. 5 lessonsAlgorithmsStep-by-step ways to solve problems and measure their growth.Starts with Big O
  3. 4 lessonsInterview PatternsReusable ways of thinking that turn slow brute-force answers into fast ones.Starts with Two Pointers

Everything, in order

Course map

0 of 16 lessons done

Data Structures

  1. Arrays and StringsCore array idea, memory layout, strings, and language differences.12 min · Beginner
  2. Linked ListsNodes and pointers: cheap inserts at the front, slow lookups.16 min · Beginner
  3. Stacks and QueuesLast in first out versus first in first out, and where each shows up.14 min · Beginner
  4. Hash TablesKeys, hash functions, buckets, collisions and load factor.19 min · Beginner
  5. Binary Search TreesSorted data in a tree shape, and why height decides the cost.19 min · Intermediate
  6. Heaps and Priority QueuesA tree packed into an array that always knows its smallest value.20 min · Intermediate
  7. Tries (Prefix Trees)Shared prefixes, the end-of-word mark, autocomplete, and what it costs in memory.16 min · Intermediate

Algorithms

  1. Big OConstant, linear, and quadratic growth without formal noise.16 min · Beginner
  2. Binary SearchHalve a sorted range each step until the value is found.16 min · Beginner
  3. SortingBubble, selection, insertion and merge sort, step by step.22 min · Intermediate
  4. Graph TraversalBreadth-first and depth-first search: a queue versus a stack.22 min · Intermediate
  5. Dynamic ProgrammingAnswer each repeated sub-question once: memoization, tabulation and a four-step recipe.18 min · Intermediate

Interview Patterns

  1. Two PointersMove two positions toward each other to skip pairs that cannot work.19 min · Intermediate
  2. Sliding WindowUpdate a running answer as values enter and leave a stretch.19 min · Intermediate
  3. Fast and Slow PointersTwo speeds on one list: find a loop or the middle in O(1) memory.18 min · Intermediate
  4. Prefix SumsBuild running totals once, then answer any range sum with one subtraction.17 min · Intermediate

Go deeper

Hand-picked outside resources for this topic, in English and Bangla.

Learn it

Your first lesson takes about 12 minutes.

Read it, trace it, then drive the demo yourself. A free account keeps your place.

Start with Arrays and Strings