This work generalizes the binary search problem to a d-dimensional domain S₁×⋯× Sd, where Sᵢ=\0, 1, …,nᵢ-1\ and d≥ 1, in the following way. Given (t₁,…,td), the target element to be found, the result of a comparison of a selected element (x₁,…,xd) is the sequence of inequalities each stating that either tᵢ < xᵢ or tᵢ>xᵢ, for i∈\1,…,d\, for which at least one is correct, and the algorithm does not know the coordinate i on which the correct direction to the target is given. Among other cases, we show asymptotically almost matching lower and upper bounds of the query complexity to be in Ω(nᵈ⁻¹/d) and O(nᵈ) for the case of nᵢ=n. In particular, for fixed d these bounds asymptotically do match. This problem is equivalent to the classical binary search in case of one dimension and shows interesting differences for higher dimensions. For example, if one would impose that each of the d inequalities is correct, then the search can be completed in log₂max₁,…,nd\ queries. In an intermediate model when the algorithm knows which one of the inequalities is correct the sufficient number of queries is log₂(n₁·…· nd). The latter follows from a graph search model proposed by Emamjomeh-Zadeh et al. [STOC 2016].
No takes yet. Share an insight, caveat, or question.
Dereniowski et al. (2024) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: