Given a piece of text T of length L, and a pattern string M of length M_L. Try to find the possibility of M in T.
Hints:
Please see my course material Computing Random Variables
Given a piece of text T of length L, and a pattern string M of length M_L. Try to find the possibility of M in T.
Hints:
Please see my course material Computing Random Variables