Abstract

Abstract In the majority problem, we are given n balls coloured black or white and we are allowed to query whether two balls have the same colour or not. The goal is to find a ball of majority colour in the minimum number of queries. The answer is known to be n − B ( n ) , where B ( n ) is the number of 1's in the binary representation of n. In [G. De Marco and A. Pelc, Randomized algorithms for determining the majority on graphs, Combin. Probab. Comput. 15 (2006), 823–834], De Marco and Pelc proved that even if we use a randomized algorith which is allowed to fail with probability at most e, we still need linear expected time to determine a ball in majority colour. We prove that any such algorithm has expected running time at least ( 2 3 − δ ( e ) ) n , where δ ( e ) → 0 as e → 0 . Moreover, we provide a randomized algorithm showing that this result is best possible.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.