Adobe interview question

DSA based question on Boyer-Moore algorithm