Skip to content

String-Matching on Ordered ALphabet

It uses constant extra space and achieves a linear time complexity. It inspects at most 6n+56n + 5 characters.

Appeared in: