Adobe Interview Question for Computer Scientists
- 1of 1 vote
There is a tournament among n teams. and we have a function which takes two team and tells which team is the winner (suppose function takes constant time),then print the result sequence array. There may be number of result sequences so print anyone.Result sequence array will contain the teams in the following manner :- kri1311 May 22, 2015 in India
Team1 has won against team 3 , team 3 has won against team 4,team 4 has won against team 2.
and ofcourse output sequence must contain all the teams and no team should get repeated.
E.g. there are 3 teams.
T1, T2, T3
match (T1,T2) = T1
match(T2,T3) = T3
match (T1,T3)= T1
Output Sequence = T1 -> T3- > T2
| Report Duplicate | Flag | PURGE
Adobe Computer Scientist
Interview Type: Phone Interview
Open Chat in New Window