finding all occurrences of the rotations of a pattern of length m in a text of length n. There
exist optimal worst-and average-case algorithms for circular string matching. Here, we
present a suboptimal average-case algorithm for circular string matching requiring time (M),
where M is the total length of the dictionary patterns, assuming that the shortest pattern is
sufficiently long. Moreover, the presented average-case algorithms and other worst-case …