
Asked in Cisco
In a tournament with N teams, where each team can play only one match per day, develop an algorithm which schedules the matches in the tournament such that each team plays with every other team once. Optimize for the number of days.

AnswerBot
2y
An algorithm to schedule matches in a tournament with N teams, where each team plays only one match per day.
Create a round-robin schedule where each team plays every other team once.
Start by assigning...read more
Help your peers!
Add answer anonymously...
Top Electronic Packaging Designer Interview Questions Asked at Cisco
Q. #define clrscr() 100 main() { clrscr(); printf(?%d?,clrscr()); }
Q. Main() { int ret; ret=fork(); ret=fork(); ret=fork(); ret=fork(); if(!ret) print...read more
Q. Given an array which is alternatively sorted, find an element in it. For example...read more
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

