4.
In which scenario does the Naive string matching algorithm perform well?

6.
What is the main advantage of the Boyer-Moore algorithm over others?