Reconstruct a String from its k-mer Composition solved by 898

July 29, 2015, 12:27 a.m. by Rosalind Team

String Reconstruction Problem

Reconstruct a string from its k-mer composition.

Given: An integer k followed by a list of k-mers Patterns.

Return: A string Text with k-mer composition equal to Patterns. (If multiple answers exist, you may return any one.)

Sample Dataset

4
CTTA
ACCA
TACC
GGCT
GCTT
TTAC

Sample Output

GGCTTACCA

Extra Dataset

Please login to solve this problem.