Visa Inc. Interview Question

Coding question was Boyer Moore voting algorithm