Algo Dfa Matching

Build a DFA transition table via the KMP prefix function, then scan text in O(n) with zero backtracking. Use when repeatedly searching one fixed pattern (motif, restriction site, primer) against many sequences or texts.

pavel-kravchenko Updated

File contents

pavel-kravchenko/bioinformatics/tree/main/Skills/algo-dfa-matching commit 9d1c966b1c

Frequently asked questions

npx skillmds@latest add pavel-kravchenko/algo-dfa-matching