Figure 1: Illustration of Boyer-Moore string search algorithm

    0    0    00    0    00   0101    011111
Mary had a little lamb. Its fleece was white as snow.
white
     white
          white
           white
                white
                     white
                      white
                           white
                             white
                                  white
                                       white
    0    0    00    0    00   0101    011111