,
Ekkehard Köhler,
Robert Scheffler
,
Martin Strehler
Creative Commons Attribution 4.0 International license
We study a variation of the classical Maximum (Minimum) Leaf Spanning Tree problem. In many applications, Depth-First Search (DFS) is used to compute a spanning tree of a graph. Such a search tree is constructed by connecting each vertex v with the last vertex the search has visited before v and we call this a last-in tree. By restricting the Maximum (Minimum) Leaf Spanning Tree problem to last-in trees of a graph search, we ask for a search ordering that leads to the largest (smallest) number of leaves in its search tree. Recently, Bergougnoux et al. [Journal of Computer and System Sciences 154 (2025)] have studied the parameterized complexity of these problems for DFS. They showed that the minimization problem is para-NP-hard and the maximization problem is W[1]-hard when parameterized by the number of leaves. When parameterized by the number of internal vertices, both problems have polynomial kernels. Here, we examine whether these results also hold for the variant Lexicographic DFS (LDFS). We show that the hardness results of DFS can be transferred to LDFS. We also present exponential kernels for the number of internal vertices as the parameter. We complement this by showing that polynomial kernels do not exist, unless NP ⊆ coNP / poly. We also consider last-in trees of searches that do not follow the DFS scheme. In contrast to (L)DFS, minimizing the number of internal vertices is para-NP-hard for several searches including Breadth-First Search.
@InProceedings{beisegel_et_al:LIPIcs.IPEC.2026.18,
author = {Beisegel, Jesse and K\"{o}hler, Ekkehard and Scheffler, Robert and Strehler, Martin},
title = {{On Kernels and Leaves: Searching for Bare and Lush Trees}},
booktitle = {21st International Symposium on Parameterized and Exact Computation (IPEC 2026)},
pages = {18:1--18:18},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-456-7},
ISSN = {1868-8969},
year = {2026},
volume = {398},
editor = {Korhonen, Tuukka and Lampis, Michael},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.IPEC.2026.18},
URN = {urn:nbn:de:0030-drops-281918},
doi = {10.4230/LIPIcs.IPEC.2026.18},
annote = {Keywords: graph search, spanning tree, parameterized complexity, kernelization, leaves of trees}
}