Course10610623154 lectures
Getting Started With Competitive Programming
Prof. Neeldhara Misra · IIT Gandhinagar
About
This is a course on algorithm design with a focus on issues of modeling and implementation. Each lecture will be focused entirely on one or two problems that reveal the use of a specific algorithmic technique. The techniques themselves are chosen to be in line with those covered in existing NPTEL courses on data structures and algorithms, so that students who complete those courses can find in this course a natural follow up. This course is intended for anyone who wants to deepen their appreciation for algorithmic techniques that they have learned in a foundational course and/or would like to take a first step towards preparing for coding competitions such as the ICPC.
Intended audience: Undergraduate students who have already done a basic data structures/algorithms course.
Prerequisites: Data Structures and Algorithms, Familiarity with a programming language (ideally C++ or Python)
Lectures
Week 1
Week 2
Week 3
- Pancake Flipping
- Islands War
- Stable Marriage - I
- Stable Marriage - II
- When Greedy Does Not Work - Coin Change
- When Greedy Does Not Work - Guarding a Museum
- When Greedy Does Not Work - Traveling Salesman
Week 4
- DSU - Definition and Motivation
- DSU via Union by Rank and Path Compression
- DSU - Implementation
- Destroying Array - I (Problem Statement and Solution)
- Destroying Array - II (Implementation)
- War - I (Problem Statement)
- War - II (Solution)
- War - III (Implementation)
Week 5
Week 6
- SSSP - Overview BFS Revisited
- SSSP and Dijkstra's Algorithm
- Sending Email
- SSSP and Modified Dijkstra
- SSSP with Negative Cycles - Bellman-Ford
- Wormholes
- APSP and Floyd-Warshall
- Page Hopping
Week 7
Week 8
- Introduction to MaxFlow
- Ford-Fulkerson for MaxFlow
- Implementing Edmonds-Karp
- Maximum Matching via MaxFlow
- Sport Elimination via MaxFlow
Week 9
Week 10
Syllabus and materials
At NPTEL, as the course publishes them.
Credits and licence
- Institution
- IIT Gandhinagar
- Department
- Computer Science and Engineering
- Teacher
- Prof. Neeldhara Misra
- Level
- Undergraduate
- Language
- English
- Subjects
- Computer science, Engineering
- Source
- NPTEL
- Licence
- CC BY-NC-SA, as NPTEL states it. Non-commercial use only. NPTEL's terms
- Attribution
- NPTEL states: "Distributed under Creative Commons Attribution-ShareAlike / CC BY - NC - SA", beside a BY-NC-SA badge. Coordinated by IIT Madras.
- Who can watch
- NPTEL gives no rating. Invisible Network shows it to Teens profiles and older, judged from what the source says about it. How courses are placed
More like this
Course
Matrix Methods in Data Analysis, Signal Processing, and Machine Learning
34 lectures · Video
Course
Computational Science and Engineering I
50 lectures · Video
Course
Engineering Dynamics
223 lectures · Video
Course
CS50’s Introduction to Computer Science
12 lectures · Video
Course
Frontiers of Biomedical Engineering
25 lectures · Audio
Course
CS50's Introduction to Programming with Python
10 lectures · Video