Chennai Mathematical Institute · Computer Science
Programming, Data Structures and Algorithms using Python
Prof. Madhavan Mukund · 2025 · 45 free video lectures
This course is an introduction to programming and problem solving in Python. It does not assume any prior knowledge of programming. Using some motivating examples, the course quickly builds up basic concepts such as conditionals, loops, functions, lists, strings and tuples. It goes on to cover…
▶ Play on Open Lecture HallCourse page ↗
Lectures
- Lecture 1: Algorithms and programming: simple gcd
- Lecture 2: Improving naive gcd
- Lecture 3: Euclid's algorithm for gcd
- Lecture 4: Downloading and installing Python
- Lecture 1: Assignment statement, basic types - int, float, bool
- Lecture 2: Strings
- Lecture 3: Lists
- Lecture 4: Control Flow
- Lecture 5: Functions
- Lecture 6: Examples
- Lecture 1: More about range()
- Lecture 2: Manipulating lists
- Lecture 3: Breaking out of a loop
- Lecture 4: Arrays vs lists, binary search
- Lecture 5: Efficiency
- Lecture 6: Selection Sort
- Lecture 7: Insertion Sort
- Lecture 8: Recursion
- Lecture 1: Mergesort
- Lecture 2: Mergesort, analysis
- Lecture 3: Quicksort
- Lecture 4: Quicksort analysis
- Lecture 5: Tuples and dictionaries
- Lecture 6: Function definitions
- Lecture 7: List Comprehension
- Lecture 1: Exception Handling
- Lecture 2: Standard input and output
- Lecture 3: Handling files
- Lecture 4: String functions
- Lecture 5: Formatting printed output
- Lecture 6: pass, del() and None
- Lecture 1: Backtracking, N queens
- Lecture 2: Global scope, nested functions
- Lecture 3: Generating permutations
- Lecture 4: Sets, stacks, queues
- Lecture 5: Priority queues and heaps
- Lecture 1: Abstract datatypes, classes and objects
- Lecture 2: Classes and objects in Python
- Lecture 3: User defined lists
- Lecture 4: Search trees
- Lecture 1: Memoization and dynamic programming
- Lecture 2: Grid paths
- Lesson 3: Longest common subsequence
- Lecture 4: Matrix multiplication
- Lecture 5: Wrap-up, Python vs other languages
From NPTEL (IITs and IISc) · CC BY-NC-SA. More from Chennai Mathematical Institute.
Open Lecture Hall is free, with no ads and no sign-up. It is not run by or connected to any university; the lectures are the universities' own free recordings, played from where they host them. About & rights