Ad-Hoc and Implementation

Getting Started with Competitive Programming

(an NPTEL course)

Week 1. Ad-hoc and Puzzles

In this week, we explore some puzzle-based problems in competitive programming. These don’t require any specific algorithmic background, but instead rely on ad-hoc observations and often simple implementations.

Class Plan & Materials

A. Prerequisites
0. Introduction
1. Reversort
2. Engineering Reversort
3. Numbers Game
4. Will It Stop?
Z. Extras