Getting Started with Competitive Programming
(an NPTEL course)
Module 3. Hierarchy
In this module, we discuss the Heirarchy problem, which you can find here:https://codeforces.com/problemset/problem/17/BYou can find the code described in th...
In this module, we discuss a problem called Hierarchy on Codeforces, which you can find here.
You can find the code described in the lecture on this page.