Quantum Algorithm for Searching for the Longest Segment and the Largest Empty Rectangle
Abstract
In the paper, we consider the problem of searching for the Largest empty rectangle in a 2D map, and the one-dimensional version of the problem is the problem of searching for the largest empty segment. We present a quantum algorithm for the Largest Empty Square problem and the Largest Empty Rectangle of a fixed width for -rectangular map. Query complexity of the algorithm is for the square case, and for the rectangle with a fixed width case, respectively. At the same time, the lower bounds for the classical case are , and , respectively. The Quantum algorithm for the one-dimensional version of the problem has query complexity. The quantum lower bound for the problem is which is almost equal to the upper bound up to a log factor. The classical lower bound is . So, we obtain the quadratic speed-up for the problem.
Keywords
Cite
@article{arxiv.2512.03788,
title = {Quantum Algorithm for Searching for the Longest Segment and the Largest Empty Rectangle},
author = {Kamil Khadiev and Vladislav Remidovskii and Timur Bikmullin and Aliya Khadieva},
journal= {arXiv preprint arXiv:2512.03788},
year = {2025}
}
Comments
accepted in SOFSEM2026 conference, In Proceedings LNCS vol.16448