Manuscript Offprint
arXiv:2611.03838A King for Almost Everyone
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
A tournament is an orientation of a complete graph. A vertex controls a vertex if there is a directed path of length at most two from to , and a -king is one that controls at least vertices. In the query complexity model, each query reveals the orientation of an edge. Shen, Sheng and Wu [SICOMP'03] established an lower bound on the deterministic query complexity of finding a 1-king, and a non-matching upper bound of . Neither bound has been improved in over two decades, despite substantial progress on variants of the problem.
For -kings with , Biswas, Jayapaul, Raman and Satti [Discrete Applied Mathematics'22] showed that queries suffice to find a -king. Lachish, Reidl and Trehan [FSTTCS'22] improved this guarantee to using queries, and asked whether a larger fraction could be achieved within the same query bound.
We answer this question affirmatively for every fixed fraction below one: for every fixed , we give a deterministic algorithm that finds a -king using queries.
The design of our algorithm is informed by a structural analysis combining a sparse regularity lemma due to Allen, Kohayakawa, Mota and Parente [Electronic Journal of Combinatorics'14] with a new sampling argument based on a reachability theorem of Afek, Gafni and Linial [arXiv'19].
Contents
| 1 Introduction | 2 |
|---|---|
| 1.1 Approximate kings and our results | 2 |
| 1.2 Overview of our approach | 3 |
| 1.3 Comparison with related work | 4 |
| 1.4 Related notions and other models | 4 |
| 1.5 Outline | 5 |
| 2 Preliminaries | 5 |
| 3 Structural Tools | 6 |
| 3.1 Building the template graph | 6 |
| 3.2 Nice properties of any orientation of the template graph | 6 |
| 3.3 Courts hide a powerful vertex | 7 |
| 4 Algorithm | 8 |
| 4.1 Proof of correctness and query complexity of the algorithm | 8 |
| 4.2 An extension to two tournaments | 9 |
| 5 Proofs of the Structural Tools | 9 |
| 5.1 Proof of Lemma 7: four nice properties of template graphs | 9 |
| 5.2 Proof of Lemma 9: powerful vertex hidden inside the courts | 10 |
| 6 Concluding Remarks | 11 |
*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.
How much of a tournament must be revealed before one can find a king?
We study this question in the model of query complexity. For an unknown tournament on vertices (the number of vertices is always known in advance), a query algorithm can only access the tournament’s arcs by querying an oracle for two vertices of its choosing. The oracle only returns whether in , or . The cost (i.e., query complexity) of an algorithm is the largest number of queries made over all inputs of size .
Shen, Sheng and Wu [SSW03] (also see [AFHN15]) gave an -query deterministic algorithm for finding a king in an -vertex tournament and an adversary establishing an lower bound. These bounds have remained unchanged for over two decades. A stronger analysis of the Shen-Sheng-Wu adversary cannot help strengthen the lower bound, as Biswas, Jayapaul, Raman and Satti [BJRS22] later gave an algorithm that finds a king against it using queries. However, if we allow randomisation, we get a substantially smaller worst-case query cost of [MPSS24, AGNS24, MPS23].
1.1 Approximate kings and our results
A natural relaxation is to seek a vertex that reaches not all but many other vertices within two arcs. We say that a vertex controls a vertex if there is a directed path of length at most two from to . We also say that beats or dominates when (note that may control but not beat it). For , a -king is a vertex that controls at least vertices. In particular, a 1-king is a king. We then ask:
How much of a tournament must be revealed before one can find a vertex controlling a fraction of the other vertices?
Biswas, Jayapaul, Raman and Satti [BJRS22] showed that queries suffice to find a -king. Lachish, Reidl and Trehan [LRT22] later improved the guarantee to using queries. They explicitly asked whether a vertex controlling a larger fraction of the tournament could be found deterministically within the same asymptotic query bound [LRT22, Section 5].
In this work, we answer this question affirmatively for every fixed fraction below one; that is:
Theorem 1 (Main). For every fixed , there is a deterministic algorithm that finds a -king in an -vertex tournament using queries.
Here, we use the subscript for complexity bounds that depend on a function of ; that is, implies there exists a function such that . This also holds for and .
The analysis of Ajtai, Feldman, Hassidim and Nelson [AFHN15], restated in [BJRS22, Lemma 14], shows that the adversary of Shen, Sheng and Wu [SSW03] requires queries to find a vertex controlling at
¹In this paper, we refer to directed edges as “arcs”.
²The tilde hides polylogarithmic factors; more formally, and are equivalent.
least other vertices. Taking gives a matching lower bound. Thus, our result determines the optimal deterministic query complexity of finding a -king, up to a constant factor depending on , for every fixed .
1.2 Overview of our approach
Our algorithm makes two sequential batches of queries, inspired by a similar approach used by Lachish, Reidl and Trehan [LRT22]. First, we fix a sparse undirected graph on vertices with at most edges, which we call the template graph. Its key property is that the edge density between any two disjoint sets, each containing at least a suitably chosen constant fraction of the vertices, is close to . We use a probabilistic argument to show that such a graph exists for all sufficiently large .
Our main contribution is a structural argument showing that, whatever orientations the first batch reveals, we can select vertices whose induced subtournament is guaranteed to reveal a -king. The two batches work as follows.
- First batch: the template graph's edges. We query the orientation of every template edge in the unknown tournament. A sparse directed version of Szemerédi's regularity lemma due to Allen, Kohayakawa, Mota and Parente [AKMP14, Theorem 2.1] allows us to partition the vertices into a bounded number of equal-sized groups, together with a small exceptional group (the number of groups depends only on ) such that almost every pair of non-exceptional groups is regular in both directions; that is, in either direction, the arc density between sufficiently large subsets is approximately the same as the arc density between the entire groups in that direction, with a small additive error compared with . The template graph's property also ensures that the majority direction between two groups has density at least a constant multiple of .
We record these directions in an oriented graph whose vertices represent the non-exceptional groups. Whenever both ordered pairs and are regular, we include the arc if more arcs go from to than in the reverse direction, breaking ties by choosing when . Since only a small proportion of pairs fail regularity in at least one direction, is almost a tournament.
- Second batch: the union of the courts. We carefully choose a small subset of each group, called its court. An inheritance theorem for sparse lower-regularity due to Gerke, Kohayakawa, Rödl and Steger [GKRS07, Theorem 3.6] allows us to choose courts of size with the following property: Whenever is an arc of , every sufficiently large subset of court sends queried arcs (from the first batch) to almost all vertices of group . Here, “sufficiently large” means at least a fixed fraction of the court.
These courts are chosen using only the first batch of answers. We then query all edges in the subtournament induced by their union. A sampling argument based on a two-tournament theorem of Afek, Gafni and Linial [AGL19, Theorem 1] shows that, whatever these new answers are, some vertex beats a sufficiently large subset of each court in a collection whose outgoing arcs in cover almost all groups.
The court property now gives us the required paths: has a direct arc to each vertex in the selected subsets of the courts, and these subsets collectively send template arcs to almost all vertices of the covered groups. Each such target is therefore reachable from within two queried arcs. By choosing the parameters so that at most other vertices remain uncovered, we make a -king.
The analysis of the number of queries made is easy: The first batch uses at most queries. Each court has vertices, and there are groups, so their union has vertices. Revealing its induced subtournament therefore uses at most additional queries.
It may be tempting to improve this bound by making the template graph sparser. The known lower bound already rules out an -query algorithm, but our construction also illustrates the trade-off directly. For a template with edge density , the first batch uses queries. The inheritance theorem allows us to choose courts of size , giving . Revealing all pairs within brings the total cost to . Thus, within our construction, making the template sparser increases the court size and the cost of revealing their union. The two terms balance at , which explains our choice of density and gives the optimal query bound of .
1.3 Comparison with related work
The most relevant works to ours are those of Biswas, Jayapaul, Raman and Satti [BJRS22], and of Lachish, Reidl, and Trehan [LRT22].
Biswas et al. gave a very simple -query algorithm to find a 1/2-king. Here is the idea, ignoring rounding and leftover vertices. Partition the vertices into blocks of size , each with a representative that beats every other vertex in its block. To build each block, query all edges among 2k remaining vertices: some vertex beats at least k - 1 others, so take it together with k - 1 of its out-neighbours as a block and remove them. This costs queries per block, hence queries overall. Now query all edges among the representatives, using another queries. A simple counting argument shows that some representative beats at least half the other representatives, and therefore reaches every vertex in their blocks within two steps. Together with the vertices it beats in its own block, this gives at least half of all other vertices.
Lachish et al. improved the fraction to using queries. Their algorithm introduces the template-graph approach that also underlies our result: First query a fixed sparse graph, then use its orientation to choose a small set of vertices for further queries. The properties of their template graph, however, are considerably different from ours: They require at least one edge between every two disjoint sets of size at least . We consider much larger sets of size at least , but require the number of edges between them to lie between and . In a nutshell, their condition guarantees connectivity between smaller sets, while ours controls edge densities between larger sets.
Standard probabilistic arguments establish the existence of both types of template graphs. The second phase of Lachish et al.'s algorithm looks for a vertex that beats many vertices in carefully chosen small sets. These out-neighbours then serve as stepping stones to reach a large fraction of the tournament. One easy case is when they find a small set such that every subset containing at least half its vertices collectively dominates enough vertices. Querying all edges within this set then suffices: a maximum-outdegree vertex provides the required stepping stones.
When no such set exists, they partition almost all vertices into small sets called weak tiles, each with a small out-neighbourhood in the queried template. Each tile therefore has many vertices outside it that it does not beat. By the template property, any sufficiently large subset of these outside vertices collectively beats almost all of the tile. Their task is then to find a vertex with enough out-neighbours among these outside vertices for sufficiently many tiles. They achieve this through a sequence of selections and queries involving small vertex sets. They also explain [LRT22, Section 4] how this second phase can actually be implemented using a single batch of queries to all edges in a subtournament.
Thus, both algorithms first query a sparse template and then query the subtournament induced by a small vertex set chosen from the revealed orientation. The difference lies in the structural argument used to choose this set. Lachish et al. [LRT22] use a dichotomy between ultra sets and weak tilings, followed by an analysis of the free sets associated with the tiles. A bottleneck in this analysis is the number of tiles for which they can guarantee coverage. In the proof of their Theorem 22, the tiles are partitioned into two families and . Claims 23 and 24 guarantee that the chosen vertex reaches almost all vertices in every tile of , but give this guarantee for only approximately a -fraction of the tiles of , where is their target improvement over . This fraction remains bounded away from one as the template error parameter tends to zero, and the tiles in can together contain a constant fraction of all vertices. Thus, these bounds alone do not extend to a -king for arbitrarily small . We instead use sparse regularity and an inheritance lemma to construct courts, and a sampling lemma to show that querying their union suffices to find a -king. Extending their result to this guarantee therefore calls for a structural argument that overcomes the loss in tile coverage.
1.4 Related notions and other models
Kings are closely connected to tournament solutions in social choice theory. Maiti and Dey [MD24] studied the query complexity of computing several such solutions, including the Copeland set, the Slater set, the Markov set, the bipartisan set, the uncovered set, and the Banks set. The uncovered set consists precisely of all kings, so computing this set is a different task from finding a single king. Since every tournament has a king, finding one is a total search problem, a connection explored in [GGLS26]. Related work has also studied the complexity of recognising kings in succinctly represented tournaments [HHTW10].
The concept of kings also arises in the context of unreliable comparisons. Ajtai, Feldman, Hassidim and Nelson [AFHN15] studied maximum finding with imprecise comparisons: elements have unknown numerical values, and comparisons may be adversarial when the values differ by at most a fixed threshold . Directing each comparison from the reported winner to the loser, deterministic maximum finding with additive error is easily seen to be equivalent to finding a king.
Other models have also been studied. The randomized and quantum query complexities of finding a king are now understood [MPS23, MPSS24, AGNS24]. Mande, Paraashar, Sanyal and Saurabh [MPSS24] studied kings in the context of communication complexity, and we [ILM26] recently studied it from the perspective of directed-cut query complexity, where a query returns the number of arcs leaving a specified vertex set.
Abboud, Grossman, Naor and Solomon [AGNS24] studied finding multiple kings, when they exist. Ismaili Alaoui and Mande [IAM25] studied the complexity of finding strong kings, a variant of kings. Weimann and Yuster [WY26] studied kings in the context of dynamic algorithms. Finally, Afek, Gafni and Linial [AGL19] considered communication over tournaments that change between rounds. They proved that, for any two tournaments on the same vertex set, some vertex reaches every other vertex by an arc in either tournament, or by an arc in followed by an arc in . This two-tournament theorem is a key ingredient in our sampling argument.
1.5 Outline
The paper is organised as follows. Section 2 introduces the notation and terminology used throughout the paper. Section 3 defines the template graph and states the structural lemmas underlying our approach. In Section 4, we use these lemmas to describe the algorithm and establish its correctness and query complexity. Section 5 provides the proofs of the structural lemmas. Finally, we conclude in Section 6 with a discussion of open questions and an AI statement.
2 Preliminaries
For a positive integer , we write .
Definition 2 (tournament, subgraph, subtournament). A tournament is a complete oriented graph where is the set of vertices, is the set of arcs, and for every arc , . For a directed or undirected graph and , the induced subgraph has vertex set and contains precisely the arcs or edges of whose endpoints both belong to . An induced subgraph of a tournament is called a subtournament.
All graphs considered are finite and have no loops or parallel edges. We use , and for the vertex set, edge set and subgraph induced by , respectively. An arc is oriented; we always refer to an edge as undirected.
Definition 3 (-king). A -king in an oriented -vertex graph is a vertex such that, for at least other vertices , at least one of the following holds:
-
is an arc in the graph, or
-
there exists a vertex such that and are arcs in the graph.
For disjoint vertex sets in an undirected graph , let denote the set of edges between them. For an oriented graph and disjoint sets , let denote the set of arcs directed from to , and write . When both sets are non-empty, define and .
For a vertex of an oriented graph , its out-neighbourhood is and its out-degree is . For a vertex set , write ; this union may contain vertices of . We write for the set of other vertices reachable from by a directed path of length at most two. A set dominates a set in if .
Let be an oriented graph, and let and . An ordered pair of disjoint non-empty vertex sets is -regular if whenever and satisfy and . This condition concerns arcs from to ; regularity in the reverse direction is a separate condition. For and , an -vertex undirected graph is -upper-uniform if for every pair of disjoint sets with . For and , a bipartite graph with non-empty vertex classes is -lower-regular if whenever and satisfy and . We use the same terminology for the pair . For disjoint non-empty vertex sets in an oriented graph , we call the ordered pair -lower-regular if the same condition holds with instead of .
We write for the Erdős-Rényi random graph on , in which each edge is present independently with probability .
3 Structural Tools
In this section, we introduce the structural tools we require.
3.1 Building the template graph
Our algorithm starts by querying the edges of a sparse -vertex undirected graph that we call the template graph (its parameters only depend on ). This graph has at most edges, which we choose and fix in advance so that, whatever answers we receive, we can use them to select a small set of vertices that, once we query the induced subtournament, reveal a vertex that controls almost the entire tournament.
Definition 4. Let . An undirected graph on vertices is a -template graph if it has at most edges and, for every pair of disjoint sets with , satisfies
We now show that for any choice of , such a graph always exists when is large enough.
Lemma 5. For all , there exists a -template -vertex graph for sufficiently large .
Proof. Fix and choose . For any fixed disjoint sets of size at least , the random variable has expectation . By a Chernoff bound, the probability that it violates either inequality in Definition 4 is at most . There are at most ordered pairs of disjoint sets, since each vertex belongs to , to , or to neither. Thus, by a union bound, the probability that any such pair violates the required inequalities is at most .
Moreover, , so Markov's inequality gives . By another union bound, with positive probability has at most edges and satisfies all the required inequalities, provided is sufficiently large.
3.2 Nice properties of any orientation of the template graph
Since we fix the template graph before we even query the first edge of the input graph, creating it costs nothing query-wise. We then query its edges and show that any orientation must reveal enough structure to let us partition its vertex set into a constant number of groups, with a very small additional leftover group. All but a very small number of pairs of groups have strong enough connectivity that we can choose a court (i.e. some specific subset) of vertices in each group with the following property: If most arcs (again, directions come from the queried edges) go from the group i to the group j, then any sufficiently large subset of the court in dominates almost the entirety of through queried edges of the template graph. Here, “sufficiently large” means a fixed fraction of the court. We formalise these properties below, but first introduce the notion of a group graph.
Definition 6 (Group graph). Let be an oriented graph and let be a partition of its vertices, where are non-empty. Fix and . The group graph is the oriented graph on containing the arc if and only if both of the following hold:

Figure 1: The court property for an arc of . Every subset with sends queried arcs (from the template graph) to at least vertices of . The shaded region contains the vertices receiving no arc from .
-
Both ordered pairs and are -regular in .
-
Either , or and .
Lemma 7 (Four nice properties of template graphs). For every , there exist such that the following holds for all sufficiently large . Let be a -template graph on vertices. Every orientation of admits a partition and courts for with the following properties:
-
, for every , and .
-
Let be the group graph with and as in Definition 6. There are at most unordered pairs of distinct indices such that and .
-
The courts have a common size , where .
-
For every arc in and every with , we have (illustrated in Figure 1).
The partition, group graph, and courts can all be determined from alone.
3.3 Courts hide a powerful vertex
We defer the proof of Lemma 7 to Section 5. Once we have these properties, we need the final piece of the puzzle: No matter how the remaining pairs of vertices in the union of the courts are oriented, there will always be a vertex that beats (i.e., has an outgoing arc to) enough vertices in the right courts for those vertices, together, to dominate almost all of the graph. This gives us our -king. Since each court has size and there are only a constant number of courts, querying all remaining pairs in their union takes queries, which keeps us within our total query budget.
Definition 8 (Active groups). Let be pairwise disjoint courts of common size , and let be a tournament on their union . Fix . A group is active for a vertex if . We write for the set of active groups of .
Lemma 9 (Powerful vertex hidden inside the courts). For every , there exists such that the following holds. Let and be the group graph and courts from Lemma 7 with . For every tournament on the union of the courts, some vertex satisfies .
Again, we defer the proof to Section 5. Using Lemma 7 and Lemma 9, we can now put together the algorithm for obtaining a -king.
4 Algorithm
Throughout, assume that is sufficiently large; otherwise, for the finitely many smaller values of , simply query the whole tournament. First, fix . Set . Choose as guaranteed by Lemma 9 for this value of , and then choose as guaranteed by Lemma 7 for this value of . All these constants depend only on . Let be the queried graph, initially empty. The algorithm then proceeds in two phases:
-
Choose a -template graph on . Query each edge of and add the obtained arc to . Denote the resulting orientation of by .
-
Use to find the courts given by Lemma 7, and let . Query the remaining unqueried arcs in the induced subtournament on and add the obtained arcs to . Let .
Once these two steps have been performed, we find a vertex satisfying , and output . We now show that such a vertex always exists, thereby proving the correctness of the algorithm.
4.1 Proof of correctness and query complexity of the algorithm
First, we require the following observation.
Observation 10. Let and . Then .
Proof. We have . Since , we have and hence , where the last inequality holds since .
By Lemma 9, applied to , there exists such that
For each , choose an arbitrary with and define . By Definition 8, since is an active group for we have . By Property 4 of Lemma 7,
where and for all . Moreover, , since each vertex on the left is reachable from through an arc of followed by an arc of , queried in the second and first batches, respectively (and cannot be itself since are subgraphs of the same tournament, and ). Thus, (2) implies
Since the groups are pairwise disjoint, (3) gives
Thus, by (4),
by (1)
since by Property 1 of Lemma 7
by Observation 10
where the last inequality follows because . Lastly, the total number of queries is clearly as and , which is guaranteed by Property 3 of Lemma 7.
4.2 An extension to two tournaments
Afek, Gafni and Linial [AGL19] showed that, for any two tournaments on the same vertex set, there is a vertex that reaches every other vertex by an arc in either tournament, or by an arc in the first followed by an arc in the second. Our algorithm can easily be generalised to efficiently find an approximate version of such a vertex.
Corollary 11. For every fixed , there is a deterministic algorithm that, given two tournaments on the same -vertex set, finds a vertex from which at least other vertices are reachable by an arc in either tournament, or by an arc in followed by an arc in , in queries.
Proof. We use the same algorithm with instead of , with one change: We query the template graph edges in , and all pairs within the union of the courts in . The orientation of the template graph in gives us the partition, the directed graph and the courts. Since Lemma 9 holds for any tournament on , we may apply it to . Thus, has arcs into the courts through arcs in , while Property 4 of Lemma 7 gives the arcs from the courts to the target groups in .
The same counting argument shows that at least vertices are reached by an arc in followed by an arc in . Here, itself may be counted, since the two arcs belong to different tournaments. Excluding it leaves at least other vertices, as required.
5 Proofs of the Structural Tools
This section is devoted to the proofs of Lemma 7 and Lemma 9.
5.1 Proof of Lemma 7: four nice properties of template graphs
We first state the following extension of Szemerédi's regularity lemma due to Allen et al. [AKMP14] (also see [Koh97, KR03]).
Theorem 12 ([AKMP14, Theorem 2.1]). For all and positive integer , there exist and such that, for any and any orientation of a sufficiently large -vertex -upper-uniform undirected graph , there exists a partition of into groups with such that , among all distinct , at most ordered pairs are not -regular, and .
We also need the following inheritance result for lower-regularity, which is [GKRS07, Theorem 3.6] with .
Theorem 13 ([GKRS07, Theorem 3.6]). For every , there exist constants such that the following holds. Let , let , and let be a -lower-regular bipartite graph with . For every integer with , there are at least
subsets of size such that is -lower-regular.
We can now prove that each property of Lemma 7 holds for any choice of .
Proof of Lemma 7. Fix and let . Apply Theorem 13 with to obtain , and choose . Apply Theorem 12 with and to obtain . Finally, set . All these constants depend only on .
Property 1. Let be any -template graph for sufficiently large , and fix an orientation of . The inequalities of Definition 4 imply that is -upper-uniform. Theorem 12 therefore gives a partition with , , and for all . This proves Property 1. Moreover, , so the inequalities of Definition 4 apply for any pair of distinct groups .
Property 2. Now, construct as in the statement. Every missing unordered pair has at least one direction that is not -regular. There are at most such ordered pairs, so at most unordered pairs do not have an arc in . This proves Property 2.
Property 3. We now choose the courts. For each arc , let be the undirected bipartite graph on whose edges are precisely the edges corresponding to the arcs of directed from to . Since this is the majority direction, by definition, and , its density is at least . For any and with , regularity gives .
Thus is -lower-regular, so set . For sufficiently large , we have . Choose each independently and uniformly among all subsets of size of . Since , Theorem 13 shows that, for each , the pair is -lower-regular except with probability at most . A union bound over all arcs of gives that the probability that at least one pair is not -lower-regular over all arcs is at most for sufficiently large . We can therefore fix courts for which all these pairs are lower-regular, which proves Property 3.
Property 4. Fix and with . Let . Suppose for a moment that . Since , we have and . The -lower-regularity of therefore gives , contradicting the definition of as has no arc into . Thus , and consequently .
5.2 Proof of Lemma 9: powerful vertex hidden inside the courts
We first use the following combinatorial result of Afek et al. [AGL19]. They prove that, given two tournaments on the same vertex set, there is always a vertex that reaches every other vertex by an arc in either tournament, or by an arc in the first tournament followed by an arc in the second. We include a proof for completeness.
Lemma 14 ([AGL19, Theorem 1]). Let be tournaments on . Then there exists a vertex such that
Proof. Here, say that reaches if , there is an arc in either tournament, or there is a path whose first arc belongs to and second arc belongs to .
The claim for can be easily verified. Suppose now, for the sake of contradiction, that the statement is false in general for , and choose a smallest counterexample on a pair of tournaments and of size . By minimality, for every , there is a vertex that reaches every vertex in and ; thus reaches every vertex other than in and , and it cannot reach (since otherwise it would reach all vertices). Also observe that the vertices are distinct: Indeed, if for distinct , then would reach because (i.e. reaches all vertices in and and would not reach because . Hence is a permutation of .
Since cannot reach , the vertex beats in and also beats in every out-neighbour of in . Therefore, we have . Summing over gives , which is impossible.
We can now prove that Lemma 9 holds for any . An informal sketch of the proof is as follows: towards a contradiction, assume that every vertex has many groups outside both its active groups and their out-neighbourhood in . We sample a small number of courts and one representative from each. We show that, with positive probability, every pair of sampled groups has an arc in , every representative activates its own court, and every sampled arc in ends in a court active for . The last condition is likely because an inactive court contains very few out-neighbours of . Our assumption also ensures that the sample is likely to contain, for every representative, a group outside both its active groups and their out-neighbourhood in . Now suppose we fix a sample satisfying all these conditions. The representatives induce a tournament in , and their court indices induce a tournament in . Identify each representative with its court index. A direct arc in the first tournament ends in an active group. A direct arc in the second tournament ends in an out-neighbour of an active group, because each representative activates its own court. The same holds for a path consisting of an arc in the first tournament followed by an arc in the second. Thus, none of these routes reaches the sampled group outside both sets, contradicting Lemma 14. Hence, some vertex has few groups outside its active groups and their out-neighbourhood. Finally, any two active groups lying outside that out-neighbourhood have no arc between them in . Since has few such pairs, there can be only a small number of these groups.
Proof of Lemma 9. Fix . Choose an integer with , and choose . Then and . For each , define . We show that there exists a vertex such that . For the sake of contradiction, suppose that for all , we have . We will find an ordered tuple of groups and representatives that contradicts Lemma 14. Choose distinct group indices uniformly, then independently choose uniform representatives . Consider three bad scenarios:
-
Some has no selected group in . Conditional on , this has probability zero if , and otherwise at most . A union bound gives probability at most .
-
Some selected pair is missing in . Its probability is at most .
-
Some , or some has . Put . At most vertices of a court have out-degree within the court below : if there are such vertices, then . Thus we have with probability at most per representative of group . For distinct , condition on the indices and . If , fewer than choices of are dominated by . A union bound therefore gives probability at most .
A union bound says that the total probability that at least one bad event happens is at most 3/4, so we can fix some sample avoiding all three scenarios. Define tournaments and on by
Note that is a tournament because the second bad scenario does not occur. Take any . Since the first bad scenario does not occur, there exists such that . The third bad scenario does not occur either, so , which gives .
Neither nor is possible: the first would put in , and the second would put it in , both contradicting . Now suppose some satisfies and . Since the third bad scenario does not occur, . But , so , again a contradiction. Thus every has a vertex that none of the three allowed paths reaches, which directly contradicts Lemma 14.
We have therefore found with . Let . Every pair in is missing in , since an arc between two members would put its target in . Hence , and , using and . Finally, , so , as required.
6 Concluding Remarks
We have shown that, for every fixed , a -king can be found deterministically using queries. This matches the known lower bound [AFHN15, BJRS22] and answers the main open question of Lachish, Reidl and Trehan [LRT22] for every fixed fraction below one. The algorithm uses only two batches: we first query the template graph, then use its orientation to partition the vertices into groups, find a court within each group, and query the subtournament induced by the union of the courts.
Naturally, the main question remains whether a full king can be found with deterministic queries. One difficulty is that finding an approximate king does not give a cheap way to check whether it is already a full king. In general, even deciding whether a given vertex is a king requires queries [BJRS22].
A potential route towards a 1-king
Fix . Call a vertex certified if either the arc has been queried, or there exists such that both arcs and have been queried. Let be the set of vertices other than that are not certified. We show that reducing to would suffice to find a full king using additional queries. If , we can query all remaining pairs within using additional queries. If is a king of this subtournament, it is a king of the whole tournament. Otherwise, let be the non-empty set of other vertices that does not control within this subtournament. Every vertex in beats and all of its out-neighbours within . It therefore reaches every vertex outside within two steps, using or one of those out-neighbours as an intermediary. Consequently, a king of the subtournament induced by is a full king, and all edges needed to find it have already been queried.
The obstacle is that our present argument leaves up to vertices uncertified. For fixed , this can be much larger than . Improving the dependence on may help here, but the constants in our bound depend on through the regularity and inheritance results. We therefore cannot simply let decrease with and retain the same query bound. On the lower-bound side, any bound stronger than for finding a full king must distinguish reaching every vertex from reaching all but an arbitrarily small fixed fraction.
Finally, our algorithm is not time-efficient: the existence of the template graph, the partition and the courts, all use existential arguments, which is fine for us since computation is free in the query model. Can one design an -time algorithm for finding a -king?
AI methodology. The algorithmic approach used in this paper was developed by the authors. ChatGPT Astra was used to identify Lemma 14 and Theorem 13, which are used in the proofs of Lemma 9 and Properties 3 and 4 of Lemma 7, respectively. It was also used for mathematical proofreading, choosing constants, and polishing the exposition. All AI-assisted contributions incorporated into the paper were verified by the authors, who take full responsibility for its content.
References
[AFHN15] Miklós Ajtai, Vitaly Feldman, Avinatan Hassidim, and Jelani Nelson. Sorting and selection with imprecise comparisons. ACM Transactions on Algorithms (TALG), 12(2):1–19, 2015. doi:10.1145/2701427.
[AGL19] Yehuda Afek, Eli Gafni, and Nati Linial. A king in every two consecutive tournaments. arXiv, 2019. doi:10.48550/arXiv.1910.09684.
[AGNS24] Amir Abboud, Tomer Grossman, Moni Naor, and Tomer Solomon. From donkeys to kings in tournaments. In 32nd Annual European Symposium on Algorithms, ESA, volume 308 of LIPics, pages 3:1–3:14. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2024. doi:10.4230/LIPICS. ESA.2024.3.
[AKMP14] Peter Allen, Yoshiharu Kohayakawa, Guilherme Oliveira Mota, and Roberto F. Parente. On the number of orientations of random graphs with no directed cycles of a given length. The Electronic Journal of Combinatorics, 21(1):P1.52, 2014. doi:10.37236/3699.
[BJRS22] Arindam Biswas, Varunkumar Jayapaul, Venkatesh Raman, and Srinivasa Rao Satti. Finding kings in tournaments. Discrete Applied Mathematics, 322:240–252, 2022. doi:10.1016/j.dam.2022.08.014.
[GGLS26] Karthik Gajulapalli, Surendra Ghentiyala, Zeyong Li, and Sidhant Saraogi. Downward self-reducibility in the total function polynomial hierarchy. In Proceedings of the 2026 Annual ACM-SIAM Symposium on Discrete Algorithms, SODA, pages 5117–5150. SIAM, 2026. doi:10.1137/1.9781611978971.185.
[GKRS07] Stefanie Gerke, Yoshiharu Kohayakawa, Vojtěch Rödl, and Angelika Steger. Small subsets inherit sparse -regularity. Journal of Combinatorial Theory, Series B, 97(1):34–56, 2007. doi:10.1016/j.jctb.2006.03.004.
[HHTW10] Edith Hemaspaandra, Lane A. Hemaspaandra, Till Tantau, and Osamu Watanabe. On the complexity of kings. Theor. Comput. Sci., 411(4-5):783–798, 2010. doi:10.1016/J.TCS.2009.10.015.
[IAM25] 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, 2025. doi:10.4230/LIPICS.FSTTCS.2025.36.
[ILM26] Ziad Ismaili Alaoui, Oded Lachish, and Nikhil S. Mande. Directed cut-query complexity of finding a king, 2026. URL: https://arxiv.org/abs/2610.40521, arXiv:2610.40521.
[Koh97] Yoshiharu Kohayakawa. Szemerédi's regularity lemma for sparse graphs. In Foundations of Computational Mathematics: Selected Papers of a Conference Held at Rio de Janeiro, January 1997, pages 216–230. Springer, 1997.
[KR03] Yoshiharu Kohayakawa and Vojtěch Röll. Szemerédi's regularity lemma and quasi-randomness. In Recent advances in algorithms and combinatorics, pages 289–351. Springer, 2003.
[Lan53] HG Landau. On dominance relations and the structure of animal societies: III the condition for a score structure. The bulletin of mathematical biophysics, 15: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. doi:10.4230/LIPIcs.FSTTCS.2022.25.
[Mau80] Stephen B Maurer. The king chicken theorems. Mathematics Magazine, 53(2):67–80, 1980.
[MD24] Arnab Maiti and Palash Dey. Query complexity of tournament solutions. Theoretical Computer Science, 991:114422, 2024. doi:10.1016/j.tcs.2024.114422.
[Moo15] John W Moon. Topics on tournaments in graph theory. Courier Dover Publications, 2015.
[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, 2023. doi:10.4230/LIPICS.FSTTCS.2023.30.
[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. Full version at https://arxiv.org/abs/2402.14751. doi:10.4230/LIPICS.APPROX/RANDOM.2024.64.
[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. doi:10.1137/S0097539702410053.
[WY26] Oren Weimann and Raphael Yuster. Maintaining a kingdom in a tournament. In International Conference on Current Trends in Theory and Practice of Computer Science, pages 347–360. Springer, 2026.