Say you have a list of similar sequences, for example
aaaa abaaa xaaaay ...
You want to discover a common set of all these sequences, for example
x? ab? aaay?
where is the operator ? indicates that the item is optional.
Which algorithm would you use?
source share