4 ms·
Interesting, the "stitch together a bunch of substrings of a large string" task also comes up in DNA sequencing: the physical process basically randomly samples
by alangpierce 8y ago
Interesting, the "stitch together a bunch of substrings of a large string" task also comes up in DNA sequencing: the physical process basically randomly samples a bunch of snippets that are each a few hundred bases long, and you need to use software to detect overlaps combine them into one long sequence. It's a pretty heavily-researched computational problem, I believe. The author's simple algorithm seems to have worked, but I guess the DNA case is harder because you don't really have the "page number", you have a lot more snippets to combine, and snippets may have errors, with more errors occurring toward the ends.
Some information on the topic: https://en.wikibooks.org/wiki/Next_Generation_Sequencing_(NGS)/De_novo_assembly https://en.wikibooks.org/wiki/Next_Generation_Sequencing_(NG...