Boyer–Moore majority vote Played with Boyer–Moore majority vote algorithm today. It's interestingly smart algorithm. I hope I can be smart enough someday to come up with such solutions to problems. #algorithms.