Manuscript Offprint
arXiv:2611.00388Online carpooling against an oblivious adversary
YUHAO LEI
ABSTRACT. In the online carpooling problem, edges on vertices arrive one at a time and must be oriented immediately, so as to keep the difference between the indegree and the outdegree of every vertex small. We give a randomized online algorithm which bounds the largest absolute difference over the first edges by with high probability on every input sequence fixed in advance. This proves a conjecture of Kulkarni, Reis and Rothvoss and matches the known worst case lower bound. The algorithm keeps the law of the discrepancy vector dominated in the convex order by a Gaussian measure, and forces the endpoint with the smaller discrepancy to receive the edge whenever the two discrepancies are far apart. In the analysis we show that a vertex of discrepancy is preceded by a set of vertices with total discrepancy .
1. INTRODUCTION
1.1. Online carpooling and edge orientation. Let and . In the online carpooling problem, edges arrive one at a time, and the -th edge joins two distinct vertices and of . When an edge arrives, an online algorithm must orient it, either from to or from to , without seeing the later edges and without revising earlier decisions. We call the endpoint whose discrepancy increases the receiver and the other endpoint the sender. The aim is to keep, at all times, the difference between the indegree and the outdegree of every vertex small. In the pairwise carpooling model inspired by Fagin and Williams [FW83], vertices represent people, each edge represents a shared ride, and its orientation determines the driver. The discrepancy of each vertex measures the deviation of that person's driving count from its fair share.
It is convenient to state the problem as an online vector balancing problem. For we write for its -th coordinate, for its Euclidean norm and , and denotes the standard inner product on . Let be the -th standard basis vector of . We represent the -th edge by and also call this vector an edge. The algorithm chooses a sign ; the sign +1 means that the edge is oriented from to . The discrepancy vector evolves by
(1.1)
Thus is the indegree minus the outdegree of the vertex in the graph formed by the first oriented edges. The quantity of interest is
(1.2)
An adaptive adversary chooses after seeing . An oblivious adversary fixes the whole sequence before the algorithm starts, so that the edges do not depend on the random choices of the algorithm.
This paper is about the oblivious setting. All probabilities and expectations are over the internal randomness of the algorithm. A run is a realization of this randomness, and its trajectory is the resulting discrepancy sequence .
YUHAO LEI
1.2. Background and main result. Online vector balancing goes back to the balancing games of Spencer [Spe77]. The subject has developed along several directions: stochastic arrivals where the input vectors are sampled from a distribution, adaptive adversary, and worst case arrivals fixed by an oblivious adversary. For independent arrivals from an arbitrary distribution on , Bansal, Jiang, Singla and Sinha [BJSS20] obtained prefix discrepancy bounds polynomial in and . Their framework handles dependence among the coordinates of an arriving vector and also yields bounds for geometric discrepancy problems. For independent uniformly random vectors in , Bansal and Spencer [BS20] achieved the optimal terminal discrepancy with high probability. The subsequent development for stochastic arrivals by Bansal, Jiang, Meka, Singla and Sinha [BJM+] developed a potential based approach that improved these bounds and extended the results to more general discrepancy settings.
Alweiss, Liu and Sawhney [ALS21] constructed a randomized online algorithm that, against an oblivious adversary, gave discrepancy bounds optimal up to polylog. Their self-balancing walk chooses each sign at random, biased bias toward the update that decreases the Euclidean norm of the discrepancy vector. Liu, Sah and Sawhney [LSS22] developed a closely related approach through random walks with a Gaussian stationary distribution. A significant advance of Kulkarni, Reis and Rothvoss [KRR24] established the optimal general bound for vectors of Euclidean norm at most one, the online Komlós setting. They constructed an online algorithm for which every fixed prefix sum is subgaussian with an absolute parameter, and proved a matching lower bound against an oblivious adversary. Aden-Ali [AA26] subsequently provided an efficient algorithm with the same discrepancy order in time by coupling three Gaussian fixed point walks so that every update uses a sign in . Recent work also identifies how sparsity changes the problem. For vectors in with at most nonzero coordinates, Altschuler and Tikhomirov [AT26a] obtained an efficient online algorithm with prefix discrepancy down to nearly logarithmic sparsity: for any fixed , their bound applies when . For independent uniformly random binary vectors with exactly nonzero coordinates, they determined the optimal prefix discrepancy order when in [AT26b]. Carpooling has fixed sparsity two and the additional structure that its two nonzero coordinates have opposite signs. For broader background on the algorithmic and geometric aspects of discrepancy, we refer to the survey of Bansal [Ban23] and the monograph of Bansal and Nikolov [BN26].
For carpooling, against adaptive adversaries the optimal order is known. Ajtai, Aspnes, Naor, Rabani, Schulman and Waarts [AAN+] showed that an adaptive adversary can force discrepancy , and Bansal, Prabhu, Singla and Sundaram [BPSS26, Theorem 1.1] proved the matching upper bound for the greedy algorithm, which orients each edge towards the endpoint of smaller discrepancy. They proved that for edges sampled independently and uniformly from a -regular graph, discrepancy is achievable with high probability, and asked whether holds for edges sampled from an arbitrary graph [BPSS26, Section 1.1]. For related work on Greedy and on random inputs see [CNP+, FKK+, GKKS20].
Randomization helps against oblivious adversaries. A randomized algorithm of Kalai, reported by Naor [Nao05] gives with high probability. Applying the general algorithms of [KRR24, AA26] to the normalized edge vectors improves this to : each fixed time coordinate is subgaussian. A lower bound of order is implicit in [AAN+, Section 3.2]; see also [BPSS26, Section 1] and [FKK+]. This is a worst case lower bound in which the number of vertices may grow with steps. Kulkarni, Reis and Rothvoss [KRR24, Conjecture 2] conjectured that a randomized online algorithm achieves the matching upper bound on every fixed edge sequence.
Conjecture 1.1 ([KRR24, Conjecture 2]). There is a randomized online algorithm for carpooling which, for every and every sequence of edges fixed in advance, satisfies with high probability.
The goal of this paper is to prove this conjecture.
Theorem 1.2. For every there is a randomized online algorithm, independent of , such that for every sequence of edges on fixed in advance and every integer , the maximum defined in (1.2) satisfies
(1.3)
Consequently, for every , with probability at least ,
(1.4)
In particular, this answers the question in [BPSS26, Section 1.1] for arbitrary graphs, with no regularity assumption or restriction on the time horizon.
1.3. Ideas of the proof. The geometric starting point is Banaszczyk's vector balancing theorem [Ban98] and the convex set transform in its proof. For a sufficiently short balancing vector, this transform does not decrease the Gaussian measure of a convex set whose measure is at least one half. This (sub)gaussian point of view also underlies the advances in [KRR24, LSS22, AA26] where the algorithms of [KRR24, AA26] provide the discrepancy bound. To improve on we consider backward witness, a variant of the spreadness argument of the recent advance [BPSS26, Lemma 3.3] whose witnesses are determined by the input and ternary choices. A vertex of discrepancy leads backwards to a set of vertices carrying total discrepancy . Subgaussianity bounds the probability of this by so that a union bound over them gives the order against an oblivious adversary.
We construct an algorithm in Section 3 with the following two properties:
(P1) after each edge is oriented, the receiver is ahead of the sender by at most a constant;
(P2) at every fixed time, is subgaussian with a constant parameter.
Greedy has (P1), with the constant 2, but not (P2); the algorithms of [KRR24, AA26] have (P2) but are not known to have (P1). Without (P1), a single vertex can grow by receiving from vertices far below it: if , the edges , , arrive and the vertex 1 always receives, then its discrepancy reaches , while no other vertex is ever above 0.
Section 4 derives from (P1) and (P2). Starting from a vertex that reaches discrepancy at the first such time , we walk backwards with a set , initially , and compare with a threshold . At an edge with exactly one endpoint in , we keep , add the outside endpoint or remove the inside one. These choices form a ternary tree determined by the input and the root . Property (P1) ensures that one of the choices raises by at least one. Following such choices leads to a set with total discrepancy once is a fixed fraction of or after crossings. We stop every path after at most branching steps, giving leaves per root. Since is an endpoint of , there are at most roots. The resulting family of leaves depends only on the input, and the union bound gives
YUHAO LEI
The algorithm in Section 3 keeps the law of dominated in convex order by the centered Gaussian measure on with covariance 50 times the identity; exponential test functions then give (P2). The measure is determined recursively by , and it is the law of . When arrives, the algorithm chooses the probability of moving from to rather than to for each point of the support of such that the new law is again dominated by and the endpoint that is behind receives whenever ; this gives (P1) with the constant 29. Such a choice exists by Theorem 3.3 which is proved in two steps in Sections 5 and 6.
We write for the unit mass at and supp for the support of a measure .
An edge has and . It crosses if exactly one of its endpoints belongs to .
Time refers to the state after the -th edge has been oriented. By (1.1), , and at step the two endpoint discrepancies change by one in opposite directions.
Define the receiver and sender by , and put . Then
(2.1)
The receiving gap of a trajectory is
Let and let have law . For every ,
in particular, for every edge .
3. THE ALGORITHM
3.1. Convex order and admissible selections. Let be the finite nonnegative convex functions on that are integrable under .
Definition 3.1. For a finitely supported probability measure , write if for every .
This is the usual convex order. For a finite convex function integrable under , apply the inequality to and subtract . Since and , dominated convergence gives the inequality for as ; integrability under follows from its finite support.
For a fixed edge , a selection for is a function : , identified with an element of . Its value is the probability of moving from to rather than to . Define
(3.1)
For let
(3.2) and let . These forcing conditions make the endpoint with smaller discrepancy receive whenever the two discrepancies differ by more than 27. Each is a nonempty compact interval, so is nonempty, compact and convex.
Definition 3.2. A selection is admissible for if .
Theorem 3.3. Let be elements of , put , and let be a finitely supported probability measure on with . Then the set of admissible selections for is a nonempty, compact and convex subset of .
Theorem 3.3 is proved in Section 6. As in [KRR24] where the algorithm is derived from Banaszczyk's transform of convex sets by an existence argument, the selection here is obtained nonconstructively, and we are interested to learn whether it admits a polynomial-time implementation. The Gaussian fixed point walk of Liu, Sah and Sawhney [LSS22] is a walk on the line with steps 0 and whose stationary law is exactly Gaussian. Here the law of is only dominated in convex order by , and this inequality leaves room for the forced moves.
3.2. Definition of the algorithm. Fix . For every finite edge prefix we define probability measures and admissible selections recursively. Put , which satisfies by Jensen's inequality. Given and the next edge , let minimize
over the admissible selections for , and put . Theorem 3.3 and strict convexity give a unique minimizer. Each is finitely supported and satisfies , and the recursion determines and from .
Let be independent uniform variables on . At step , set
(3.3)
and update by (1.1). For every realization of , : inductively, a chosen + move has , and a chosen - move has , so (3.1) assigns positive mass to the next state.
Proposition 3.4. Let the input be fixed in advance. Each trajectory has receiving gap at most 29 and has law . In particular, for all and .
Proof. If , the forcing conditions give ; otherwise . Equation (2.1) bounds the receiving gap.
The law identity holds at . Suppose it holds at . Since the input is fixed, depends only on , so is independent of . Conditional on , the two moves therefore have probabilities and . Formula (3.1) gives . Finally, belongs to , so convex order gives
□
4. BACKWARD WITNESSES
The idea is influenced by [BPSS26]. We first construct a family of small sets at fixed times from the edges alone. Every trajectory with receiving gap at most 29 and has total discrepancy of absolute value at least on one of these sets. We then apply Proposition 3.4 to each fixed candidate and sum over the family. In Sections 4.1–4.2, fix the edges and an integer .
YUHAO LEI
4.1. The threshold and the backward step. Put
(4.1)
and, for integers ,
(4.2)
The threshold has , , and increments . Bansal, Prabhu, Singla and Sundaram [BPSS26, Lemma 3.3] compare the sum of the largest coordinates with , whose increments decrease by 2, the receiving gap of Greedy. Here the increments decrease by 30, one more than the upper bound 29 on the receiving gap.
For , since and we have
(4.3)
For a trajectory and a set , define the slack
When crosses S, write
Thus adds the outside endpoint and removes the inside endpoint.

(a) A crossing edge with and

one of the two moves gains at least 1.
(b) A crossing edge with and
FIGURE 1. The backward step. In (a) the slack increases by 1; in (b) the two integer gains sum to at least 1. The shaded regions indicate set membership.
If the sender lies in , the slack rises in backtracking. Otherwise, adding the sender gains if its discrepancy exceeds , and removing the receiver gains if its discrepancy is below ; these thresholds differ by 30, more than the upper bound 29 on the receiving gap, so one of them gains. The slack increases at every crossing during backtracking.
Lemma 4.1. Let have receiving gap at most 29. If , is nonempty, and crosses , then one of the sets satisfies
If moreover , then this choice has .
Proof. Since crosses , exactly one of the receiver and the sender lies in .
Case (i): and . Take . Of the coordinates in , only changes at step , and . Hence
Case (ii): and . In this case and , so and . Both endpoints of lie in and neither lies in , giving . By (4.2),
Since the receiving gap is at most 29,
(4.4)
Both gains are integers. If , take . Otherwise , so , and we take .
In both cases . If , then , so . Hence whenever .
4.2. Witness tree. Since Lemma 4.1 guarantees an improving backward step, but the choice may depend on the discrepancy trajectory. We therefore retain all three possibilities at each crossing edge; the resulting tree depends only on the edge sequence and .
The reader may compare Lemma 4.2 with the spreadness lemma of [BPSS26, Lemma 3.3]. Related witness tree arguments also appear in graphical load balancing [KP06].
Lemma 4.2. There is a family of pairs with and , determined only by and , such that
For every trajectory with receiving gap at most 29 and , some satisfies
We call the elements of witnesses.
Proof. For each and , build a rooted tree whose nodes are labeled by triples , with root . A node is a leaf when any of the conditions
holds. Every other node has the single child if does not cross , and the three children
if crosses S, with as above.
Time decreases by one along each edge of the tree, so the tree is finite. The set starts with size one, changes in size by at most one at a time, and stops on reaching ; thus every node satisfies . Along a path from root to leaf, counts the nodes with three children, so there are at most such nodes. Contracting the edges from nodes with only one child gives a tree of height at most and at most three children per node. It has at most leaves. Let consist of the pairs from leaves with in all trees. This proves the stated size bounds, and the construction depends only on the edges and .
YUHAO LEI
Now fix a trajectory as in the statement. Let be the first time with . Since and only the two endpoints change at each step, each by one, we have and some endpoint of satisfies . Replacing all signs by their negatives replaces by and leaves unchanged. By (2.1), the receiving gap is unchanged, as are and every . We may therefore assume that .
Starting from the root , we choose a path to a leaf such that every visited node satisfies
(4.5)
This holds at the root because . At a node with one child, either both endpoints of lie in or neither does, so ; both the slack and stay the same. At a node with three children, Lemma 4.1 supplies a nonempty child whose slack increases by at least one, while increases by one. Thus (4.5) holds along the chosen path.
Let be its leaf. By (4.5), . If , then by (4.3), contradicting (4.5). Hence the leaf satisfies or . In the first case ; in the second case, and . In either case,
Since this is a leaf with , its pair belongs to .
Now we are ready to prove the main result.
Proof of Theorem 1.2. Fix the input in advance and run the algorithm of Section 3. For every fixed , nonempty , and , Markov's inequality and Proposition 3.4, with , give
where the minimum is attained at .
Let be the family from Lemma 4.2. By Proposition 3.4, every trajectory has receiving gap at most 29, so
Applying the preceding bound to each witness and using , union bound gives
Here we used , , , and
This proves (1.3).
Set and . Since , the tail bound (1.3) gives
Hence, with probability at least , , which is (1.4).
5. An INEQUALITY IN ONE DIMENSION
For an edge , write a line parallel to as , where . Since , the coordinate changes by under the moves . The forcing conditions apply when , and the coordinate is centered normal with variance 100.
For a finite convex function , define
(5.1)
Since ,
(5.2)
We construct a function that bounds the least value attainable by an allowed move and whose Gaussian average is at most that of . Section 6 applies this construction to the restrictions of nonnegative convex test functions.

(a) Symmetric window

(b) Boundary window
FIGURE 2. The two cases in Lemma 5.2. The thin, dashed and thick curves represent , and , respectively. In (b), the minimizing center is .
Continuity of gives attainment of the minima and continuity of and . By convexity, is the smallest level whose sublevel set contains an interval of length 4 centered in .
Lemma 5.1. If minimizes the expression defining , then
Thus at least one move has value at most , including the forced move when .
YUHAO LEI
Proof. Choose with . If , then , so convexity gives
If , use instead. The last assertion follows from .
The proof below shows that the loss is smaller than the gain. If the two endpoint values are equal, it is confined to an interval of length 8, and otherwise it lies in a Gaussian tail.
Lemma 5.2. For , we have .
Proof. Choose a minimizing center . Reflection replaces by and by , so symmetry of lets us assume . Write ; convexity makes this chord slope nondecreasing in both endpoints.
Case 1: . Choose a minimizer on the window. Such an interior minimizer exists since either the minimum is below the endpoint values or is constant on the window. Outside the window, chord monotonicity gives , so is a global minimizer. Put and .
For , the sliding window meets , so and . For , the function is nonincreasing on , giving , and
For , the function is nondecreasing on , so and
Thus on both tails, and
Since has length 8 and the density of is at most ,
Case 2: . We prove that . If not, moving the center to the right strictly lowers the value of the left endpoint by convexity, while continuity keeps the value of the right endpoint below . Contradiction to minimality. Hence , and is strictly decreasing on . Set .
For , and chord monotonicity gives . For , the window contains 25, so . For , convexity and give
Therefore
because and for every real , whence .
6. PROOF OF THE SELECTION THEOREM
Fix and write for the projection onto . Now we prove the high dimensional version of Lemma 5.2.
Lemma 6.1. For , let for and put . Then ,
(6.1)
and for every there is such that
(6.2)
Proof. Define
Then , , and . Both objectives are jointly convex in the point and the scalar variable, and the minima are attained over fixed compact intervals. Taking convex combinations of minimizers proves convexity: for minimizers at and ,
The same argument applies to . Thus is finite, nonnegative and convex.
Since , Lemma 5.1 gives (6.2), with q = 0 or 1 respecting the forcing conditions.
Finally, let and . Orthogonal Gaussian components are independent, , and . Nonnegativity, Tonelli's theorem and Lemma 5.2 give
This proves (6.1) and .
Lemma 6.1 handles one test function at a time. Next we prove a finite affine separation lemma which combines finitely many into one function.
Lemma 6.2. Let be a nonempty compact convex set, and let be affine functions. Suppose that
Then there exist such that
Proof. The set , where , is compact and convex, and by assumption it is disjoint from the closed convex set . By the Hahn-Banach separation theorem there are and with for and for . Taking and letting gives ; taking gives . Hence for every .
YUHAO LEI
Now we complete the argument by reducing to a single test function.
Proof of Theorem 3.3. Recall from Section 3.1 that is nonempty, compact and convex. For and , let
The formula extends to an affine function on , so is closed and convex. By the criterion in Section 3.1, the set of admissible selections is . It is therefore compact and convex. To prove nonemptiness, it suffices to establish the finite intersection property.
First fix a single . (6.2) gives, for each , a choice with . These choices form a selection , and
Here the second inequality uses and , and the last is (6.1). Thus every single test has a selection satisfying its inequality.
Now let and suppose that . Then
Applying Lemma 6.2 with and gives such that is strictly positive on . Consequently,
contradicting the preceding conclusion for this . Thus the closed sets have the finite intersection property. Therefore, the set of admissible selections is nonempty.
Remark 6.3. The function is a convex majorant of the minimum over allowed one-step moves:
Its relation to Banaszczyk's transform [Ban98] can be seen on sublevel sets. For and , let , an interval that may be empty or unbounded. The definitions give
Thus each sublevel interval is expanded by 2 at both ends if it contains an allowed segment, and is discarded otherwise. Banaszczyk's transform similarly expands the sufficiently long sections of a convex set and discards the shorter ones; here the segment centers are additionally restricted to the slab to enforce the prescribed moves. Equation (6.1) gives the corresponding Gaussian integral inequality.
7. AI DISCLOSURE
GPT 6 Astra first proposed the approach via properties (P1) and (P2) and the functional analogue of Banaszczyk's transform. Claude Opus 5.5 was used to review drafts, suggest changes, and to assist with preparing the illustrations for the manuscript. The author determined the explicit constants and notations used in the theorem; identified and corrected errors; verified every proof; simplified the exposition and wrote the paper. The author takes full responsibility for the contents of this paper.
8. ACKNOWLEDGMENT
The author is deeply grateful to Professor Konstantin Tikhomirov, who introduced him to this problem and has followed the work closely from the first rough idea to the final draft. He asked questions exposing a gap in what the author thought was complete and pointing to a simpler route. In particular, the simplification in proving Theorem 3.3 is due to him.
REFERENCES
[AA26] I. Aden-Ali, Optimal online discrepancy minimization in linear time, arXiv:2607.04388, 2026. [AAN⁺98] M. Ajtai, J. Aspnes, M. Naor, Y. Rabani, L. J. Schulman, and O. Waarts, Fairness in scheduling, J. Algorithms 29 (1998), no. 2, 306–357. [ALS21] R. Alweiss, Y. P. Liu, and M. Sawhney, Discrepancy minimization via a self-balancing walk, Proceedings of the 53rd Annual ACM Symposium on Theory of Computing (STOC), 2021, pp. 14–20. [AT26a] D. J. Altschuler and K. Tikhomirov, Online Beck-Fiala down to logarithmic sparsity, arXiv:2607.14238, 2026. [AT26b] D. J. Altschuler and K. Tikhomirov, The threshold for online balancing of i.i.d. binary vectors, arXiv:2609.14975, 2026. [Ban98] W. Banaszczyk, Balancing vectors and Gaussian measures of n-dimensional convex bodies, Random Structures Algorithms 12 (1998), no. 4, 351–360. [Ban23] N. Bansal, Discrepancy theory and related algorithms, Proceedings of the International Congress of Mathematicians 2022, vol. 7, EMS Press, Berlin, 2023, pp. 5178–5210. [BJM⁺21] N. Bansal, H. Jiang, R. Meka, S. Singla and M. Sinha, Online discrepancy minimization for stochastic arrivals, Proceedings of the 2021 ACM-SIAM Symposium on Discrete Algorithms (SODA), 2021, pp. 2842–2861. [BJSS20] N. Bansal, H. Jiang, S. Singla, and M. Sinha, Online vector balancing and geometric discrepancy, Proceedings of the 52nd Annual ACM Symposium on Theory of Computing (STOC), 2020, pp. 1139–1152. [BN26] N. Bansal and A. Nikolov, Discrepancy theory: an algorithmic and geometric perspective, arXiv:2608.00140, 2026. [BPSS26] N. Bansal, M. Prabhu, S. Singla, and S. M. Sundaram, The cube-root phenomenon in online carpooling, arXiv:2609.21348, 2026. [BS20] N. Bansal and J. H. Spencer, On-line balancing of random inputs, Random Structures Algorithms 57 (2020), no. 4, 879–891. [CNP⁺11] D. Coppersmith, T. Nowicki, G. Paleologo, C. Tresser, and C. W. Wu, The optimality of the online greedy algorithm in carpool and chairman assignment problems, ACM Trans. Algorithms 7 (2011), no. 3, Art. 37. [FKK⁺16] A. Fiat, A. R. Karlin, E. Koutsoupias, C. Mathieu, and R. Zach, Carpooling in social networks, 43rd International Colloquium on Automata, Languages, and Programming (ICALP 2016), LIPIcs, vol. 55, 2016, Art. 43. [FW83] R. Fagin and J. H. Williams, A fair carpool scheduling algorithm, IBM J. Res. Develop. 27 (1983), no. 2, 133–139. [GKKS20] A. Gupta, R. Krishnaswamy, A. Kumar, and S. Singla, Online carpooling using expander decompositions, 40th IARCS Annual Conference on Foundations of Software Technology and Theoretical Computer Science (FSTTCS 2020), LIPIcs, vol. 182, 2020, Art. 23. [KP06] K. Kenthapadi and R. Panigrahy, Balanced allocation on graphs, Proceedings of the 17th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), 2006, pp. 434–443.
YUHAO LEI
[KRR24] J. Kulkarni, V. Reis, and T. Rothvoss, Optimal online discrepancy minimization, Proceedings of the 56th Annual ACM Symposium on Theory of Computing (STOC), 2024, pp. 1832–1840.
[LSS22] Y. P. Liu, A. Sah, and M. Sawhney, A Gaussian fixed point random walk, 13th Innovations in Theoretical Computer Science Conference (ITCS 2022), LIPIcs, vol. 215, 2022, Art. 101.
[Nao05] M. Naor, On fairness in the carpool problem, J. Algorithms 55 (2005), no. 1, 93–98.
[Spe77] J. Spencer, Balancing games, J. Combin. Theory Ser. B 23 (1977), no. 1, 68–74.
DEPARTMENT OF MATHEMATICAL SCIENCES, CARNEGIE MELLON UNIVERSITY, PITTSBURGH, PA 15213, USA
Email address: yuhaolei@andrew.cmu.edu