GO Solution For UVa 105 - The Skyline Problem. In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.

Problem Description

With the advent of high speed graphics workstations, CAD (computer-aided design) and other areas (CAM, VLSI design) have made increasingly effective use of computers. One of the problems with drawing images is the elimination of hidden lines — lines obscured by other parts of a drawing.

You are to

...

You can find the full details of the problem The Skyline Problem at UVa Online Judge

Sample Input

1 11 5
2 6 7
3 13 9
12 7 16
14 3 25
19 18 22
23 13 29
24 4 28

Sample Output

1 11 3 13 9 0 12 7 16 3 19 18 22 3 23 13 29 0

Solution: Please check the main.go snippet for the solution.

Solution originally posted at: Github by @codingsince1985