Codility - Stone Wall

Solution to Codility lesson5¬†Stone Wall¬†problem, link to Codility problem and complete solution at the end of the post. Definitions: Context (from Codility): You are going to build a stone wall. It should have different heights in different places. The height of the wall is specified by a zero-indexed array H. H[I] is the height of […]

Read More