DeepAI
Log In Sign Up

Searching, Sorting, and Cake Cutting in Rounds

12/01/2020
by   Simina Branzei, et al.
0

We study sorting and searching in rounds motivated by a cake cutting problem. The search problem we consider is: we are given an array x = (x_1, …, x_n) and an element z promised to be in the array. We have access to an oracle that answers comparison queries: "How is x_i compared to x_j?", where the answer can be "<", "=", or ">". The goal is to find the location of z with success probability at least p ∈ [0,1] in at most k rounds of interaction with the oracle. The problem is called ordered or unordered search, depending on whether the array x is sorted or unsorted, respectively. For ordered search, we show the expected query complexity of randomized algorithms is Θ(k· p · n^1/k) in the worst case. In contrast, the expected query complexity of deterministic algorithms searching for a uniformly random element is Θ(k· p^1/k· n^1/k). The uniform distribution is the worst case for deterministic algorithms. For unordered search, the expected query complexity of randomized algorithms is np(k+1/2k) ± 1 in the worst case, while the expected query complexity of deterministic algorithms searching for a uniformly random element is np (1 - k-1/2kp ) ± 1. We also discuss the connections of these search problems to the rank query model, where the array x can be accessed via queries of the form "Is rank(x_i) ≤ k?". Unordered search is equivalent to Select with rank queries (given q, find x_i with rank q) and ordered search to Locate with rank queries (given x_i, find its rank). We show an equivalence between sorting with rank queries and proportional cake cutting with contiguous pieces for any number of rounds, as well as an improved lower bound for deterministic sorting in rounds with rank queries.

READ FULL TEXT

page 1

page 2

page 3

page 4

05/31/2022

Efficient Algorithms for Sorting in Trees

Sorting is a foundational problem in computer science that is typically ...
12/31/2020

The Query Complexity of Local Search and Brouwer in Rounds

We study the query complexity of local search and Brouwer fixed-point co...
01/30/2021

Fragile Complexity of Adaptive Algorithms

The fragile complexity of a comparison-based algorithm is f(n) if each i...
05/25/2021

Minmax-optimal list searching with O(log_2log_2 n) average cost

We find a searching method on ordered lists that surprisingly outperform...
12/06/2017

A note on searching sorted unbalanced three-dimensional arrays

We examine the problem of searching sequentially for a desired real valu...
07/12/2021

Noisy searching: simple, fast and correct

This work revisits the multiplicative weights update technique (MWU) whi...
01/20/2022

Cost-Effective Algorithms for Average-Case Interactive Graph Search

Interactive graph search (IGS) uses human intelligence to locate the tar...