google jam · programming

Google code jam practise: Hedgemony – how to crack the problem

Lord Cohen is a baron with the best-looking hedge in the country. His award-winning hedge consists of N bushes planted side by side in a straight line. The bushes are numbered left to right from 1 to N. The baron’s neighbours all cut their own hedges so that all of their bushes have the same… Continue reading Google code jam practise: Hedgemony – how to crack the problem