Checked many times, but still getting wrong and. PLZ HELP
Getting wrong ans
Consider the case: string: aba patt: ba then when u call recalhash then u update the hash of string but the hash of string and patt becomes unequal. But ba of patt is present in string. Try to correct it.
Thanks man got my mistake