Search
⌘K

Leetcode 3680. Generate Schedule

Produce an ordering of all directed matches between n teams (each ordered pair i != j appears exactly once, representing home/away) so that no team appears in consecutive matches; return the sequence of matches (one per day) or an empty array if no such ordering exists.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.