AI has changed the IT market and the demand for skilled Software & AI engineers will constantly rise. Lead the race.Explore our AI aligned courses ↗
PROGRAMMING & DATA STRUCTURES

Data Structures & Algorithms
Think. Solve. Build.

Start with the fundamentals. Learn to break down problems, choose the right data structures, and write efficient solutions in C++, Java or Python you can confidently explain.

Beginner → Intermediate Live online
  • C++, Java or Python
  • Problem-solving patterns
  • Interview thinking
ENQUIRE ABOUT THE COURSE

Your next chapter
starts here.

Tell us a little about yourself.

I’m a

YOUR STARTING POINTBeginner-friendly
YOUR ROADMAP27 learning modules
COURSE DURATION5 Months
YOUR LEARNING MODELive online
A FOUNDATION THAT TAKES YOU FURTHER

Understand the problem.
Own the solution.

Build more than familiarity with syntax. Learn how to approach an unfamiliar problem, reason about your choices, and turn your thinking into working code.

Starting out? You’re in the right place.

For students taking their first steps in programming, or anyone ready to strengthen their programming and problem-solving fundamentals.

Write with confidence

Build and debug programs in your chosen language, then use recursion to break bigger problems into smaller decisions.

Choose smarter approaches

Pick the right structures and patterns for arrays, trees and graphs. Understand what makes a solution efficient.

Explain your thinking

Walk through your solution, analyse time and space complexity, and handle the edge cases that matter.

YOUR LEARNING ROADMAP

One concept leads
to the next breakthrough.

Move from programming essentials to the patterns behind better solutions. Build the programming fundamentals and logical thinking to understand, debug and improve code—even when AI helps write it.

FOUNDATIONS FOR THE AI ERA

Stronger fundamentals. Smarter use of AI.

AI can help you write code. Programming knowledge and logical thinking help you ask better questions, spot incorrect assumptions, debug generated code and judge a solution’s efficiency. Learn the fundamentals so you can build with AI and understand the result.

  • Reason before you prompt
  • Validate the output
  • Own your solution
Your complete learning roadmap.

Keep the module breakdown, practice assignments and learning outcomes.

Download syllabus

Suggested curriculum. Confirm the current batch syllabus, module allocations and total duration with an advisor.

01 Flowcharts and Pseudocode

This helps you to understand how to convert logic and write it in the form of diagrammatic and textual way.

Put it into practice

Draw flowcharts and write pseudocode for simple problems.

What you’ll take away

Plan logic clearly before writing code.

Suggested allocation: 3–4 sessions
02 Data Types, Variables and Constants
  • Built-in data types (int, float, double, char, void)
  • Variable declaration, initialization, scope
  • Constants (literal, symbolic with const and #define)
  • Type conversion and typecasting
Put it into practice

Write programs that declare, convert and print different data types.

What you’ll take away

Choose the right data types and use them correctly.

Suggested allocation: 3–4 sessions
03 Operators and Expressions
  • Arithmetic, relational, logical, assignment, increment/decrement
  • Bitwise operators and shift operators (intro)
  • Conditional (ternary) operator
  • Expression evaluation, operator precedence and associativity
Put it into practice

Evaluate and write expressions using different operators.

What you’ll take away

Predict how expressions are evaluated.

Suggested allocation: 3–4 sessions
04 Control Flow: Decision Making
  • if, if-else, nested if-else
  • else-if ladder
  • switch-case and break
  • Conditional constructs for simple problem solving
Put it into practice

Solve problems that branch on multiple conditions.

What you’ll take away

Write correct decision-making logic.

Suggested allocation: 3–4 sessions
05 Control Flow: Loops and Iteration
  • while, do-while and for loops
  • Loop nesting
  • break and continue
  • Basic algorithmic patterns (counters, accumulators, tables)
Put it into practice

Print patterns and tables using nested loops.

What you’ll take away

Use loops to solve repetitive problems.

Suggested allocation: 3–4 sessions
06 Arrays and Strings
  • One-dimensional arrays: declaration, initialization, traversal
  • Two-dimensional arrays (matrices) and basic operations
  • Character arrays and strings
  • Common string operations using library functions (length, copy, compare, concatenate)
Put it into practice

Solve array, matrix and string manipulation problems.

What you’ll take away

Store and process collections of data.

Suggested allocation: 3–4 sessions
07 Functions and Modular Programming

In this section, you will learn to write code in a modular way to help you reuse the code in different C++ files and make it more readable and organized.

  • Need for functions
  • Function declaration, definition and call
  • Parameter passing (by value)
Put it into practice

Refactor a program into reusable functions.

What you’ll take away

Write modular, organised code.

Suggested allocation: 3–4 sessions
08 Pointers and Dynamic Memory Allocation
  • Pointer basics, address and dereference operators
  • Pointers and arrays
  • Pointers to pointers
  • Dynamic memory allocation using malloc, calloc, realloc, free
  • Common pointer errors and good practices
Put it into practice

Build a dynamic array using pointers and memory allocation.

What you’ll take away

Manage memory safely with pointers.

Suggested allocation: 3–4 sessions
09 Algorithms STL

STL is one of the most useful things to write code in a faster way. It comes very handy in competitive programming and online coding practice sites.

Put it into practice

Solve problems quickly using STL containers and algorithms.

What you’ll take away

Write faster solutions with the STL.

Suggested allocation: 3–4 sessions
10 Bitmasking

In this section, we will understand how Bitwise operators like AND, OR, XOR, and NOT work on machine code to help write programs that work faster, since the computer understands machine code.

Put it into practice

Solve problems using bitwise operators and bitmasks.

What you’ll take away

Write faster code with bit manipulation.

Suggested allocation: 3–4 sessions
11 Structures, Unions, Enums and typedef
  • Defining and using structures
  • Array of structures and nested structures
  • Unions (concept and simple use)
  • Enumerated types (enum)
  • typedef for aliasing types
Put it into practice

Model a real-world record using structures and enums.

What you’ll take away

Group related data into custom types.

Suggested allocation: 3–4 sessions
12 Recursion Introduction

“In order to understand Recursion we must understand Recursion”, so this is what is focussed here i.e. write code using Recursion. It is used in Dynamic Programming as well as in data structures such as Trees, Graphs, and Heap etc.

Put it into practice

Solve basic problems with recursive functions.

What you’ll take away

Think recursively and trace recursive calls.

Suggested allocation: 3–4 sessions
13 Deep Diving into Recursion

In this section, we will start exploring how to form recurrence relations using problem statements and mainly discussing recursion on arrays and strings.

Put it into practice

Form recurrence relations for array and string problems.

What you’ll take away

Break problems into smaller recursive subproblems.

Suggested allocation: 3–4 sessions
14 Recursion on Subsets

In this section, we will understand how to solve algorithms such as phone search and advanced concept of Knapsack that is mostly asked in Interviews.

Put it into practice

Generate subsets and solve knapsack-style problems.

What you’ll take away

Solve subset problems with recursion.

Suggested allocation: 3–4 sessions
15 Backtracking

It is the most important concept to understand in Recursion and it is thoroughly checked in Interviews and Technical Rounds. If one has to master recursion they need to master backtracking.

Put it into practice

Solve N-Queens, sudoku and maze problems with backtracking.

What you’ll take away

Explore and prune solution spaces systematically.

Suggested allocation: 3–4 sessions
16 Time and Space Complexity

It helps us to compare the algorithms on the basis of Time and Space it takes to run the code and help us to master how to write code by considering constraints of the problem.

Put it into practice

Analyse the time and space complexity of your solutions.

What you’ll take away

Choose efficient approaches and explain their complexity.

Suggested allocation: 3–4 sessions
17 Object Oriented Programming

One of the most important topics to build data structures. It is not only used in every data structure but also helps us to understand how to associate the real world with programming language.

Put it into practice

Model a real-world system using classes and objects.

What you’ll take away

Build data structures with OOP.

Suggested allocation: 3–4 sessions
18 Linked List

In this topic we learn how to store data in a non-contiguous manner and we understand how the Linked List can work in a better time complexity than other data structures in some operations.

Put it into practice

Implement and manipulate a linked list.

What you’ll take away

Work with non-contiguous data structures.

Suggested allocation: 3–4 sessions
19 Stack

It follows the principle of Last In and First Out. Although this data structure can be easily understood, the concept of LIFO can be used to solve some typical problems such as Histogram Area, Stock Span, and Balanced Parentheses etc.

Put it into practice

Solve stock span and histogram problems with stacks.

What you’ll take away

Apply LIFO to solve classic problems.

Suggested allocation: 3–4 sessions
20 Queues

This data structure works just like a normal queue does and it is mainly used as a helping data structure in Trees and Graphs.

Put it into practice

Implement queues and use them in BFS-style problems.

What you’ll take away

Use queues as helper data structures.

Suggested allocation: 3–4 sessions
21 Binary Trees and Binary Search Trees

In this data structure, we learn how to store data in a hierarchical format. It is one of the most important topics from an Interview point of view and questions from this topic are frequently asked in companies such as Amazon, Microsoft, Flipkart and Google etc.

Put it into practice

Solve traversal and BST problems.

What you’ll take away

Solve hierarchical data problems asked in interviews.

Suggested allocation: 3–4 sessions
22 Heap

This data structure helps you to understand how an infinite stream of incoming data can be accessed to fetch useful information, for example, find the most sold products on any website.

Put it into practice

Find top-k elements from a stream using heaps.

What you’ll take away

Extract useful information from streaming data.

Suggested allocation: 3–4 sessions
23 Hashmap

It helps us to understand how we can store, update and delete the data in constant time. It is majorly used in Dynamic Programming and Graphs to help us make the time complexities of the algorithms better.

Put it into practice

Solve frequency and lookup problems with hashmaps.

What you’ll take away

Store and retrieve data in constant time.

Suggested allocation: 3–4 sessions
24 Graphs

The most popular data structures in companies like Direct-i, Google, and Arcesium etc. It is usually considered tough because of the dependency on other data structures such as queue, hashmaps, sets, and heap etc. but once you get a taste of how to apply these things together it will make you a better programmer.

Put it into practice

Solve BFS, DFS and shortest path problems.

What you’ll take away

Combine data structures to solve graph problems.

Suggested allocation: 3–4 sessions
25 Tries

It helps us to search in constant time and in case you want to use auto suggestion features of Amazon, Flipkart or other sites' search bar this is the solution. Many problems such as Maximum-Xor, and Maximum Sum etc. use tries to help improve complexity of the problem.

Put it into practice

Build an autocomplete feature and solve maximum XOR with tries.

What you’ll take away

Use tries for fast prefix search.

Suggested allocation: 3–4 sessions
26 Dynamic Programming (DP) and Greedy Algorithms
  • One Dimensional Dynamic Programming
Put it into practice

Solve 1D dynamic programming and greedy problems.

What you’ll take away

Recognise overlapping subproblems and greedy choices.

Suggested allocation: 3–4 sessions
27 Learning Splitwise Application

Understanding the logic to implement real world application like Splitwise and how it works in minimum transactions.

Put it into practice

Build a Splitwise-style expense settlement solution.

What you’ll take away

Apply DSA to a real-world application.

Suggested allocation: 3–4 sessions

Takeaway from the course

  • Programming skills
  • Logical ability
  • Data structures
  • Algorithms
  • Leetcode
  • Codeforces
  • Projects
PUT THE IDEAS TO WORK

Make the concepts
something you can show.

Go beyond isolated exercises. These project ideas bring your data structures and algorithms together in something you can build, test and explain.

route_planner · DSA project
A → B → D → EPath cost: 9
PROJECT IDEA · CONNECTED THINKING

Route planner

Represent locations as a graph, find a path between them, and explain the trade-offs behind your chosen algorithm.

C++ / Java / PythonGraphsPathfinding
structure_toolkit · DSA project
Stack · Queue · Linked listTested ✓
PROJECT IDEA · UNDER THE HOOD

Data structure toolkit

Implement reusable data structures, test their operations, and understand how the building blocks of efficient programs work.

C++ / Java / PythonData structuresTesting
maze_solver · DSA project
Start → Explore → FinishPath found ✓
PROJECT IDEA · RECURSIVE THINKING

Maze solver

Explore a grid, backtrack from dead ends, and find a valid route. Make recursive decisions visible, one move at a time.

C++ / Java / PythonRecursionBacktracking
task_scheduler · DSA project
Priority queueNext task ready
PROJECT IDEA · SMARTER PRIORITIES

Task scheduler

Manage a queue of tasks, choose what runs next, and compare scheduling approaches using heaps and priority queues.

C++ / Java / PythonHeapsPriority queues
PROJECT IDEA · FIND THE SIGNAL

Mini text search engine

Index a collection of text, retrieve matching documents, and explore how string processing and hash maps power search.

C++ / Java / PythonStringsHash maps

Explore what you could build.

Illustrative project previews. Your mentor will confirm project scope and review criteria for your batch.

HOW THE LEARNING COMES TOGETHER

Understand it.
Then make it your own.

A learning rhythm that connects the concept, the code and your reasoning. Here’s how you can turn each new topic into a skill.

THE CONCEPT

See the why

Walk through the idea and trace examples. Understand when an approach works and where it falls short.

THE PRACTICE

Write the code

Work through exercises and assignments. Debug, test edge cases, and try the next variation.

THE REASONING

Talk it through

Explain your approach, compare alternatives, and connect your solution to time and space complexity.

Ask your advisor about assignment reviews, doubt support, recordings and mock interview inclusions for your chosen batch.

FIND YOUR LEARNING ENVIRONMENT

Same ambition.
Your way to learn.

Choose the environment that suits your routine. Our advisors can help you compare current batches, schedules and support.

LIVE ONLINE

Join from where you are.

Attend live sessions remotely. Find a batch whose timing and learning support work for your day.

Live sessions · learn remotely Find a live batch
UP TO100%SCHOLARSHIP
CAST · YOUR OPPORTUNITY TO LEARN

Your ambition. A scholarship to match.

Apply for CAST — the Coding Blocks Aptitude and Scholarship Test — and earn a scholarship of up to 100% on course fees.

Available for classroom and Live interactive courses, including Sampoorna. Awards are subject to the test’s eligibility and award terms.

Apply for CAST
LIVE ONLINE. YOUR SCHEDULE.

Your schedule. Your batch.

Choose C++, Java or Python in the batch widget, then select a weekday or weekend live schedule.

DSA using C++ · Weekday
How live classes work

A LITTLE CLARITY

Good questions.
Clear answers.

Do I need programming experience before joining?

The suggested curriculum starts with programming foundations, including types, control flow and functions, before moving into data structures and algorithms. It is designed for students starting programming or strengthening their fundamentals. Tell your advisor about your experience to check your starting point.

How do I choose between classroom and live learning?

Choose classroom learning if you prefer an in-person routine and peer interaction. Live learning lets you attend remotely. Ask about current DSA batch availability for your chosen language, timings and support before choosing your mode.

What will I practise and build?

The suggested roadmap includes topic exercises, practical assignments, timed problem sets and project ideas such as a route planner and a data structure toolkit. Your mentor will confirm project scope, review criteria and the curriculum for your batch.

What are the course duration, timings and fees?

These depend on your selected batch and learning mode. Contact an advisor for the current start date, class schedule, total duration and fees.

Who will teach my batch, and what support is included?

Mentor allocation and support are confirmed with your selected batch. Ask your advisor about doubt sessions, assignment reviews, recording access and mock interview inclusions before enrolling.

Coding Blocks learner stories

Their next chapter started here.
Yours could be next.

Every career journey is different. These videos share a few stories from the Coding Blocks community.

2.5 lakh+learners
These four stories are just a glimpse.There are many more journeys across the Coding Blocks community.
View more success stories
YOUR NEXT CHAPTER STARTS WITH A FIRST STEP

Could this be you next?

Build your skills, make things that work, and prepare for the opportunities ahead.

Real people. Real milestones.

Our torchbearers.
Just getting started.

Meet Coding Blocks learners whose practice and persistence led to opportunities at leading companies.

Explore more success stories
Aditya

Aditya

Amazon
Iti Jain

Iti Jain

Twitter
Simarpreet Sikka

Simarpreet Sikka

Microsoft
Vishesh

Vishesh

Google
Jashpreet Malhotra

Jashpreet Malhotra

Walmart
Sahil Bansal

Sahil Bansal

Salesforce
Shervil Gupta

Shervil Gupta

Google
Ashanka Saha

Ashanka Saha

American Express
Sandipan Dutta

Sandipan Dutta

Amazon
Lavisha Malik

Lavisha Malik

Goldman Sachs
Manali Biswas

Manali Biswas

Microsoft
Mohit K.

Mohit K.

Amazon
CODING BLOCKS CERTIFICATE

Skills you’ve built.
An achievement to show.

Celebrate the work you put into learning data structures and algorithms with a Coding Blocks certificate of completion. Add it to your portfolio and share a milestone in your learning journey. Ask your advisor about the completion criteria for your batch.

  • A record of your completed program
  • A meaningful addition to your portfolio
  • A milestone to share with your network
Explore the curriculum
Coding Blocks certificate of completion, with space for your name, live program and completion date.
Coding Blocks certificate of completion
HOW LIVE CLASSES WORK

Learn live.
From wherever you are.

Join scheduled sessions with a mentor and your batch, ask questions in real time, and keep learning without a commute.

Live, not recorded

Real-time sessions with your batch

LIVE ONLINE
  • Scheduled live sessions

    Attend classes at fixed weekday or weekend timings with your mentor.

  • Ask as you learn

    Raise doubts in the session and get answers while the topic is fresh.

  • Learn with a batch

    Practise, discuss and keep pace alongside peers on the same roadmap.

Recordings and doubt support: confirm with your advisor Find a live batch

What you need

A simple setup is enough

LIVE ONLINE
  • A laptop or desktop

    To write and run code during sessions and assignments.

  • A stable internet connection

    Enough to stream video and share your screen.

  • A quiet space

    So you can listen, speak and focus for the full session.

Your first breakthrough
starts with a good foundation.

Let’s find a DSA batch that fits where you are and where you want to go.

YOUR DSA ROADMAP

Get the complete syllabus.

Share your details, verify your email, and download your curriculum.

  1. Your details
  2. Verify email
  3. Download
ONE MORE LOOK BEFORE YOU JOIN

Your live class. Your batch.

Review your schedule and mentor before continuing.

DSA using C++

Start date
Class days
Class time
Mentor
Duration
Course fee
Questions? Talk to our team