Constructing Universal Strings

Let's construct universal strings using Eulerian cycles.

We'll cover the following

Now that you know how to use the de Bruijn graph to solve the String Reconstruction Problem, you can also construct a k-universal string for any value of k. We should note that de Bruijn was interested in constructing k-universal circular strings. For example, 00011101 is a 3-universal circular string, as it contains each of the eight binary 3-mers exactly once (in the figure given below).

Get hands-on with 1200+ tech skills courses.