PDSA Interactive Book
Practice tool

Code Lab

Write the function, run the tests. Every problem is checked against hidden cases β€” including inputs that are too big for a slow solution.

Loading problems…

PDSA Interactive Book Β· Programming, Data Structures and Algorithms using Python (BSCS2002), IIT Madras BS Degree Programme.
Created by Ammar Hashmi Β· Β© 2026. An unofficial study companion β€” the syllabus follows the official course page and the examples are built around the PDSA Online Textbook; lectures by Prof. Madhavan Mukund (CMI). Always cross-check with the official course material.
Found a mistake or have a suggestion? Report it on GitHub β†— Β· Press / to search.