43.
In the Boyer-Moore algorithm, how is the "good suffix rule" utilized?

45.
What is a key characteristic of the Naive string matching algorithm?

50.
If n is the length of text(T) and m is the length of the pattern(P) identify the correct matching algorithm.

for s=0 to n
    do if p=t0	
        then if P[1..m]=T[s+1..s+m]
	    then print “Pattern occurs with shift” s

for s=0 to n-m
    do if p=ts	
        then if P[1..m]=T[s+1..s+m]
	    then print “Pattern occurs with shift” s

for s=0 to m
    do if p=ts	
        then if P[1..m]=T[s+1..s+m]
            then print “Pattern occurs with shift” s

for s=0 to n-m
    do if p!=ts	
        then if P[1..m]=T[s+1..s+m]
	    then print “Pattern occurs with shift” s