Adobe Interview Question

DSA based question on Boyer-Moore algorithm