Finding a non-minority ball with majority answers
详细信息    查看全文
文摘
Suppose we are given a set of nn balls {b1,…,bn}{b1,…,bn} each colored either red or blue in some way unknown to us. To find out some information about the colors, we can query any triple of balls {bi1,bi2,bi3}{bi1,bi2,bi3}. As an answer to such a query we obtain (the index of) a majority ball, that is, a ball whose color is the same as the color of another ball from the triple. Our goal is to find a non-minority ball  , that is, a ball whose color occurs at least n2 times among the nn balls. We show that the minimum number of queries needed to solve this problem is Θ(n)Θ(n) in the adaptive case and Θ(n3)Θ(n3) in the non-adaptive case. We also consider some related problems.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700