Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
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.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.