Problem Summary
Given an array of N integers, find the maximal length of its “repeating” subsequence.
Implement a windowing interface with 5 types of basic operations and a sequence of commands consisting of the basic operations.
5 basic operations:
Given a software distribution network of schools, i.e. a directed graph, compute :
The minimal number of shools that must receive a copy of the new software in order for it to reach all schools.
The minimal number of extensions (i.e. edges) that have to be made so that whatever school we send the new software to, it will reach all other schools.