Rabin Karp and Ui Frame