Manuscript Offprint
arXiv:2610.40521Directed Cut-Query Complexity of Finding a King
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
A king in a tournament is a vertex from which every other vertex is reachable by a directed path of length at most two. We study the deterministic query complexity of finding a king when a query specifies a set of vertices and returns the number of edges directed from that set to its complement. We prove that this complexity is for -vertex tournaments. To show this, we first show that every correct deterministic algorithm in this model must output a maximum-outdegree vertex, even though a king need not have maximum outdegree. We then give an adversary whose answers, after too few queries, remain consistent with a tournament in which the algorithm's output does not have maximum outdegree.
1 Introduction
A tournament is an orientation of a complete graph. A vertex is a king if it can reach every other vertex by a directed path of length at most two. It is now a well-known fact [Lan53] that every tournament has a king: any vertex of maximum outdegree is one. Finding such a vertex is a basic search problem when the directions of the edges are initially unknown.
In the standard edge-query model, a query reveals the direction of one edge, and an algorithm's goal is to find a king with as few queries as possible in the worst case. Shen, Sheng, and Wu [SSW03] proved an lower bound and an upper bound for finding a king. Later work studied finding variants of kings [BJRS22, LRT22, IM25], randomized and quantum algorithms [MPS23], and the problem of finding multiple kings [AGNS24]. Mande, Paraashar, Sanyal, and Saurabh [MPSS24] studied the communication complexity of finding a king when the edges of the tournament are partitioned between two players.
Cut queries have been extensively studied as a model for solving graph problems without learning the entire graph. In an undirected graph, a cut query specifies a vertex set S and returns the number of edges between S and its complement. The connection to value-oracle submodular function minimization, together with the possibility of solving graph problems without reconstructing the input, has motivated the study of cut-query algorithms for a range of problems [RSW18, MN20, AEG 22, CL23, ASW25, KM26].
In the directed cut-query model, a query specifies a vertex set and returns the number of edges directed from to its complement. A central question is which problems can be solved using substantially fewer queries than the number of edges. This is particularly relevant for tournaments, which have edges. Ghosh, Kuchlous, Mehra, and Mukhopadhyay [GKMM26] gave a unified framework for solving tournament problems from the vertex degrees, encompassing earlier results on reachability and strong connectivity and yielding new algorithms for minimum cut. Their framework gives -query algorithms for these problems in the directed cut-query model. We study the directed cut-query complexity of finding a king.
Formally, given a tournament on the known vertex set , a directed cut query specifies a set and returns
*University of Liverpool, United Kingdom. {ziad.ismaili-alaoui, nikhil.mande}@liverpool.ac.uk
†Philipps-Universität Marburg, Germany.
University of London, Birkbeck, United Kingdom. o.lachish@bbk.ac.uk
Ziad Ismaili Alaoui was funded by EPSRC grant EP/X039447/1.
Each query has unit cost, and queries may be chosen adaptively. We write for the minimum worst-case number of queries required by a deterministic algorithm that outputs a king of every n-vertex tournament.
The following is our main result in this paper.
Theorem 1. For all sufficiently large n,
Our proof in fact gives a lower bound of for every constant and all sufficiently large .
For the lower bound, we first observe that the answer to any directed cut query is determined by the outdegree of each vertex. Thus an algorithm cannot distinguish two tournaments in which each vertex has the same outdegree in both tournaments. We show that if a vertex does not have maximum outdegree, then the edges can be reoriented, preserving every vertex's outdegree, so that this vertex is no longer a king. Consequently, every correct deterministic cut-query algorithm must output a maximum-outdegree vertex.
It remains to show that finding a maximum-outdegree vertex requires queries. We show this by an adversarial argument, answering queries as if every vertex had outdegree . Towards a contradiction, suppose a cheap algorithm was correct and outputted vertex v against this adversary. A counting argument shows that, after too few queries, we can perturb the degrees so that they are realized by a tournament consistent with all answers given so far in which another vertex has strictly larger outdegree than that of v. The algorithm also outputs v on this tournament, contradicting our earlier conclusion that every correct deterministic cut-query algorithm must output a maximum-outdegree vertex.
Connection with communication complexity. Mande, Paraashar, Sanyal, and Saurabh [MPSS24] proved an deterministic communication lower bound for finding a king when the edges are partitioned between two players. Since each directed cut query can be simulated using bits of communication, this implies an lower bound on the directed cut-query complexity of finding a king. They also proved an deterministic communication lower bound for finding a maximum-outdegree vertex. Our result that every correct deterministic cut-query algorithm must output a maximum-outdegree vertex therefore gives an alternative proof of the lower bound. We give the details in Section 4.
2 Equivalence of king-finding and maximum-outdegree search
We first show that directed cut queries reveal no information beyond the outdegree of each vertex. For a tournament T and a vertex v, let denote the outdegree of v in T.
Lemma 2. Let and be tournaments on the same labelled vertex set , with for every . Then every deterministic directed cut-query algorithm has the same execution and output on and .
Proof. The sum counts every edge whose origin lies in . These are precisely the edges directed from to its complement and the edges within , each counted once. Since is a tournament, there are exactly edges within . Therefore,
Since for every , the right-hand side is the same for and for every choice of . Hence for every . Since the algorithm is deterministic, it asks the same queries and produces the same output on both tournaments.
For a tournament T on vertex set , we write
This is a labelled vector: its ith coordinate belongs to vertex i. Equality of vectors always means coordinate-wise equality, not equality up to permutation. A vector is realizable if it equals for some tournament on . We write for the out-neighbours of , and . Subscripts are omitted when the tournament is clear.
Definition 3. We say that a vertex w covers v if and for every .
We make the simple observation that if a vertex is covered, then it cannot be a king. This is because if w covers v, then there is no path of length two from v to w.
Observation 4. If a vertex w covers another vertex v in a tournament T, then v is not a king in T.
Conversely, if is not a king, choose a vertex that it cannot reach in at most two steps. Then covers . In particular, if covers , then . Consequently,
In particular, the contrapositive of the above recovers the fact that every maximum-outdegree vertex is a king [Lan53].
We next show that any vertex whose outdegree is not maximum can be made a non-king by reorienting edges while preserving every vertex's outdegree. We will use the following observation.
Observation 5. For any directed triangle in a tournament, reversing all of its three edges preserves the outdegree of every vertex.
Proof. Each vertex of the triangle has exactly one outgoing edge within the triangle both before and after the reversal. All other edges are unchanged.
Lemma 6. Let be a realizable degree vector, and let satisfy . There is a tournament with in which covers .
Proof. Start with any realization of . We first arrange that . If instead , there is a vertex with : otherwise , contradicting . Reverse the directed triangle . By Theorem 5, the degrees are preserved and we now have the edge . With fixed, let
Writing , we have and . Hence
If is nonempty, then is also nonempty, so we may choose and . The definitions give . There are two cases to consider:
-
If , reverse the triangle . Vertex loses and gains as an out-neighbour, while is unchanged. Since , the new set is exactly .
-
If , reverse the triangle . Vertex loses and gains as an out-neighbour, while is unchanged. Since , again the new set is exactly .
In both cases every degree is preserved, the edge is unchanged, and decreases by one. Redefining using the updated tournament, we again have and . Thus by Equation (3), so whenever is nonempty, is also nonempty and another step is possible. This process therefore terminates with , giving . Together with , this means that covers , and the resulting tournament still satisfies .
Corollary 7. For every realizable degree vector d, the vertices that are kings in every realization of d are exactly the vertices of maximum outdegree in d.
Proof. A maximum-outdegree vertex is a king by Equation (2). Every other vertex is covered in some realization by Theorem 6, and hence not a king by Theorem 4.
Let denote the task of finding a maximum-outdegree vertex.
Corollary 8. Every correct deterministic directed cut-query algorithm for KING outputs a maximum-outdegree vertex on every input. Consequently,
Proof. Let be a correct deterministic directed cut-query algorithm for . Suppose that on some input tournament , it outputs a vertex that does not have maximum outdegree. By Theorem 7, there exists a tournament with such that is not a king in . By Theorem 2, the output of on is the same as its output on , namely . This contradicts the correctness of .
Thus every correct deterministic algorithm for KING also solves MOD , which implies . The reverse inequality follows because every maximum-outdegree vertex is a king by Equation (2).
Proposition 9. For every , .
Proof. Query for vertices. Infer the remaining degree from , and output a vertex of maximum outdegree.
3 A direct lower bound
In this section we first note sufficient conditions for a degree vector to be realizable, and then give the counting argument used to preserve the query answers.
3.1 Realizing bounded degree perturbations
Theorem 10 (Landau [Lan53], [Moo68, Theorem 29]). Let be nonnegative integers. The vector is realizable if and only if
Lemma 11. Let and satisfy
Then d is realizable.
Proof. Sort the coordinates into nondecreasing order. For ,
For , the bound on the remaining coordinates gives
where the last inequality holds since we are in the case where . Thus the conditions in Theorem 10 are satisfied, implying a realization of the sorted vector, and hence the original vector by relabeling vertices.
3.2 An integer vector preserving all answers
Lemma 12. Let and let be an integer. If
then there is a nonzero such that and for every .
Proof. There are vectors . Each coordinate of is a sum of at most coordinates of , since every entry of is either 0 or 1. Each summand is an integer between 0 and , so each coordinate of is an integer between 0 and . Each of the coordinates of has at most possible values, namely . Hence, as ranges over , the vector takes at most distinct values. By our assumption and the pigeonhole principle, there exist two distinct vectors with the same image. Set . Since , we have . Moreover, , and for every .
We now combine the preceding two lemmas to prove the lower bound. We answer queries according to a regular tournament and show that, after too few queries, there is a realizable degree vector consistent with all answers in which the algorithm's output does not have maximum outdegree.
Theorem 13. Let be odd. Then
Proof. For this proof, fix and . Fix a correct deterministic algorithm and run it on an -vertex regular tournament, that is, one in which every vertex has outdegree . It is well known that such a tournament exists for every odd [Moo68].
Suppose this execution makes queries and outputs vertex . Define by
Assume, towards a contradiction, that
By Theorem 12, there is a nonzero integer vector with and . The first row gives , and the remaining rows give
In particular, is not constant. We may replace by so that is not a maximum coordinate of : if is already nonmaximum, keep ; otherwise choose with and negate .
Set for every . Then is an integer vector with total sum . Moreover,
Thus, each . By Theorem 11, is realizable. Choose with . By Theorem 6, there is a realization of in which covers .
For each queried set , the sum of the outdegrees in is
where the last equality follows from Equation (5). This is the same degree sum as in the regular tournament. By Equation (1), the answer to the query is therefore the same on both tournaments. This holds true for all . The algorithm therefore follows the same execution on and outputs . This is incorrect because covers in and hence cannot be a maximum-outdegree vertex or king in by Theorem 4.
Thus Equation (4) is impossible. Taking logs and cross-multiplying gives
Since , we have and . Therefore,
Thus , proving the claimed lower bound.
3.3 Proof of main result
Lemma 14. For every , .
Proof. Given a tournament on , add a new vertex and direct every edge incident to towards , obtaining . For a query , put . Then
Thus one query to T suffices to simulate a query to . The vertex s cannot be a king of , and it cannot be an internal vertex of a directed path. Consequently, every king of is a king of T. An algorithm for therefore yields one for with no more queries.
Proof of Theorem 1. The upper bound is Theorem 9. Let m be the largest odd integer at most n. By Theorem 14 and Theorem 13, for all sufficiently large n,
Since , the right-hand side is at least for every fixed and all sufficiently large . In particular, it exceeds for all sufficiently large .
4 An alternative lower bound via communication
The structural equivalence in Theorem 8 also allows us to deduce an lower bound from the deterministic maximum-outdegree communication lower bound of of Mande et al. [MPSS24, Theorem 5].
Fix a publicly known partition of the unordered vertex pairs between Alice and Bob. Each player knows the directions of the edges assigned to them. We now show how Alice and Bob can simulate a q-cost cut-query algorithm by an -cost communication protocol. To simulate a directed cut query S, each player counts the edges they own directed from S to its complement and sends this count to the other player. Each count is at most , so this can be sent to each other using bits of communication. Both players then know the answer to the cut-query S and can determine the next query of the deterministic cut-query algorithm without further communication. Since the cut-query algorithm makes at most q queries, the cost of the communication protocol is .
By Theorem 8, a correct cut-query algorithm for finding a king must output a maximum-outdegree vertex on every tournament. The communication lower bound for a suitable partition therefore implies .
5 Further directions
An interesting special case is finding a king when the input is promised to be a transitive tournament. Since its outdegrees form a permutation of and its unique king is its source, Equation (1) makes this equivalent to finding the location of n in an unknown permutation of , where each query returns the sum of an arbitrary subset of entries. Determining the query complexity of this problem seems to be an independently interesting puzzle.
Another natural next question is to determine the randomized directed cut-query complexity of finding a king. Let denote the minimum worst-case query bound of an algorithm that outputs a king with probability at least 2/3 on every input. The deterministic algorithm from Theorem 9 gives . The randomized communication lower bound for finding a king [MPSS24, Theorem 4], together with the simulation in Section 4 (which can also easily be seen to work in the randomized setting), gives
Does randomization permit an -cost cut-query algorithm to find a king, or does the linear lower bound persist?
Our structural equivalence between and in Theorem 8 relies on correctness on every input. For each nonmaximum vertex, Theorem 6 gives a realization in which that vertex is not a king, but this realization may depend on the vertex. Moreover, the tournament constructed in the proof of Theorem 13 depends on the queries made by the algorithm. These arguments therefore do not directly yield a matching randomized lower bound via Yao's principle, which requires a single hard input distribution against all deterministic algorithms with a given query budget.
References
[AEG 22] Simon Apers, Yuval Efron, Pawel Gawrychowski, Troy Lee, Sagnik Mukhopadhyay, and Danupon Nanongkai. Cut query algorithms with star contraction. In 2022 IEEE 63rd Annual Symposium on Foundations of Computer Science (FOCS), pages 507–518. IEEE, 2022.
[AGNS24] Amir Abboud, Tomer Grossman, Moni Naor, and Tomer Solomon. From donkeys to kings in tournaments. In 32nd Annual European Symposium on Algorithms, ESA 2024, volume 308 of LIPIcs, pages 3:1–3:14. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2024.
[ASW25] Aditya Anand, Thatchaphol Saranurak, and Yunfan Wang. Deterministic edge connectivity and max flow using subquadratic cut queries. In Proceedings of the 2025 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 124–142. SIAM, 2025.
[BJRS22] Arindam Biswas, Varunkumar Jayapaul, Venkatesh Raman, and Srinivasa Rao Satti. Finding kings in tournaments. Discrete Applied Mathematics, 322:240–252, 2022.
[CL23] Deeparnab Chakrabarty and Hang Liao. A query algorithm for learning a spanning forest in weighted undirected graphs. In Proceedings of the 34th International Conference on Algorithmic Learning Theory, volume 201 of Proceedings of Machine Learning Research, pages 259–274. PMLR, 2023.
[GKMM26] Prantar Ghosh, Sahil Kuchlous, Shravan Mehra, and Sagnik Mukhopadhyay. The power of the score sequence of a tournament. In 34th Annual European Symposium on Algorithms (ESA 2026), volume 388 of Leibniz International Proceedings in Informatics (LIPIcs), pages 156:1–156:19. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2026.
[IM25] Ziad Ismaili Alaoui and Nikhil S. Mande. Hardness of finding kings and strong kings. In 45th IARCS Annual Conference on Foundations of Software Technology and Theoretical Computer Science, FSTTCS, volume 360 of LIPIcs, pages 36:1–36:12. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2025.
[KM26] Yotam Kenneth-Mordoch. Deterministic global minimum cut using cut queries. arXiv preprint arXiv:2610.23461, 2026.
[Lan53] H. G. Landau. On dominance relations and the structure of animal societies: III. the condition for a score structure. The Bulletin of Mathematical Biophysics, 15(2):143–148, 1953.
[LRT22] Oded Lachish, Felix Reidl, and Chhaya Trehan. When you come at the king you best not miss. In 42nd IARCS Annual Conference on Foundations of Software Technology and Theoretical Computer Science, FSTTCS 2022, volume 250 of LIPIcs, pages 25:1–25:12. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2022.
[MN20] Sagnik Mukhopadhyay and Danupon Nanongkai. Weighted min-cut: sequential, cut-query, and streaming algorithms. In Proceedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing, pages 496–509, 2020.
[Moo68] John W Moon. Topics on tournaments. New York, 1968.
[MPS23] Nikhil S. Mande, Manaswi Paraashar, and Nitin Saurabh. Randomized and quantum query complexities of finding a king in a tournament. In 43rd IARCS Annual Conference on Foundations of Software Technology and Theoretical Computer Science, FSTTCS, volume 284 of LIPIcs, pages 30:1–30:19. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2023.
[MPSS24] Nikhil S. Mande, Manaswi Paraashar, Swagato Sanyal, and Nitin Saurabh. On the communication complexity of finding a king in a tournament. In Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques (APPROX/RANDOM 2024), volume 317 of Leibniz International Proceedings in Informatics (LIPIcs), pages 64:1–64:23. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024.
[RSW18] Aviad Rubinstein, Tselil Schramm, and S. Matthew Weinberg. Computing exact minimum cuts without knowing the graph. In 9th Innovations in Theoretical Computer Science Conference (ITCS 2018), volume 94 of Leibniz International Proceedings in Informatics (LIPIcs), pages 39:1–39:16. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2018.
[SSW03] Jian Shen, Li Sheng, and Jie Wu. Searching for sorted sequences of kings in tournaments. SIAM Journal on Computing, 32(5):1201–1209, 2003.