Emergent Mind

On multidimensional generalization of binary search

(2404.13193)
Published Apr 19, 2024 in cs.DS , cs.DM , and math.CO

Abstract

This work generalizes the binary search problem to a $d$-dimensional domain $S1\times\cdots\times Sd$, where $Si={0, 1, \ldots,ni-1}$ and $d\geq 1$, in the following way. Given $(t1,\ldots,td)$, the target element to be found, the result of a comparison of a selected element $(x1,\ldots,xd)$ is the sequence of inequalities each stating that either $ti < xi$ or $ti>xi$, for $i\in{1,\ldots,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 $\Omega(n{d-1}/d)$ and $O(nd)$ for the case of $ni=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 $\log2\max{n1,\ldots,nd}$ queries. In an intermediate model when the algorithm knows which one of the inequalities is correct the sufficient number of queries is $\log2(n1\cdot\ldots\cdot n_d)$. The latter follows from a graph search model proposed by Emamjomeh-Zadeh et al. [STOC 2016].

We're not able to analyze this paper right now due to high demand.

Please check back later (sorry!).

Generate a summary of this paper on our Pro plan:

We ran into a problem analyzing this paper.

Newsletter

Get summaries of trending comp sci papers delivered straight to your inbox:

Unsubscribe anytime.