Reconstruct a string from its genome path

Sign in to test your solution.