Finding the diameter of a tree with distance queries

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Gerbner, Dániel, Imolay, András, Nagy, Kartal, Patkós, Balázs, Zólomy, Kristóf
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916974228930560
author Gerbner, Dániel
Imolay, András
Nagy, Kartal
Patkós, Balázs
Zólomy, Kristóf
author_facet Gerbner, Dániel
Imolay, András
Nagy, Kartal
Patkós, Balázs
Zólomy, Kristóf
contents We study the number of distance queries needed to identify certain properties of a hidden tree $T$ on $n$ vertices. A distance query consists of two vertices $x,y$, and the answer is the distance of $x$ and $y$ in $T$. We determine the number of queries an optimal adaptive algorithm needs to find two vertices of maximal distance up to an additive constant, and the number of queries needed to identify the hidden tree asymptotically. We also study the non-adaptive versions of these problems, determining the number of queries needed exactly.
format Preprint
id arxiv_https___arxiv_org_abs_2509_23326
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Finding the diameter of a tree with distance queries
Gerbner, Dániel
Imolay, András
Nagy, Kartal
Patkós, Balázs
Zólomy, Kristóf
Data Structures and Algorithms
Combinatorics
We study the number of distance queries needed to identify certain properties of a hidden tree $T$ on $n$ vertices. A distance query consists of two vertices $x,y$, and the answer is the distance of $x$ and $y$ in $T$. We determine the number of queries an optimal adaptive algorithm needs to find two vertices of maximal distance up to an additive constant, and the number of queries needed to identify the hidden tree asymptotically. We also study the non-adaptive versions of these problems, determining the number of queries needed exactly.
title Finding the diameter of a tree with distance queries
topic Data Structures and Algorithms
Combinatorics
url https://arxiv.org/abs/2509.23326