Template:Algofor

This article describes an algorithm for the following problem: