GO Solution For UVa 10132 - File Fragmentation. In this post we will see how we can solve this challenge in GoLang for UVa Online Judge.

Problem Description

Your friend, a biochemistry major, tripped while carrying a tray of computer files through the lab. All of the files fell to the ground and broke. Your friend picked up all the file fragments and called you to ask for help putting them back together again.

Fortunately, all of the files on the tray

...

You can find the full details of the problem File Fragmentation at UVa Online Judge

Sample Input

1

011
0111
01110
111
0111
10111

Sample Output

01110111

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

Solution originally posted at: Github by @codingsince1985