Silhouette of some buildings in a city - Need help coding this algorithm, please!

Printable View