2 2 votes In a tournament method with $8$ distinct elements, suppose elements are inserted in random order into the knockout tree to find max, $2^{\text {nd }} \max$. What is the probability that the second maximum element makes it to the final match?$1 / 2$ $1 / 4$ $4 / 7$ $1 / 8$ Algorithms goclasses algorithms goclasses-cs-dpp goclasses-cs-dpp-day-75 goclasses-algorithms-practice-questions + – GO Classes 626 views answer comment Share Follow Print See all 4 Comments 4 4 Comments reply amanbadone0 commented Jan 7 reply Follow flag Can anyone suggest some reference to where to study this Tournament method? @itsrkc? @Dhruv_rajak 0 0 replyShare Rajkumar Chaudhary commented Jan 7 i edited by Rajkumar Chaudhary Jan 8 reply Follow flag @amanbadone0 refer Sachin Sir lectures, Probability Tree Method:Engineering Math's Course+Max-Min DnC Algo from YT 1 1 replyShare gate2026fail commented Jan 8 reply Follow flag @amanbadone0 this problem is nothing but the problem of max and min in divide and conquer you can fathom it from youtube.. 0 0 replyShare soniccc commented Jul 8 reply Follow flag @amanbadone0 there is one tifr question if u want => https://gateoverflow.in/27194/tifr-cse-2014-part-b-question-9?show=138379 this method is cool tbh 0 0 replyShare Please log in or register to add a comment.
1 1 vote answer must be C ,tournament method make a binary tree and compare the players and eliminate by one,comparison take n-1 for find the max ele and (n-1) + logn -1 for second maxif we want 2nd max element to makes it to final, lets put the max element anywhere in tree bcuz max is in the finalnow, we have 7 position in the tree to insert the second max ,but it should oppose with max element so,not in same branch.if max inserted in right subtree then second max will get in left tree.Now only 4 position left for second maxso, 4/7 is correct. gate2026fail answered Sep 4, 2025 • edited Sep 4, 2025 by gate2026fail gate2026fail comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes There are 8 elements. initiallyMax can be placed anywhere because it always winsTo reach to the final, $2^{\text {nd }}$ max should be in the opposite half of the max elementFix the bracket with two halves of 4 slots each. Place the max anywhere (8 choices). Now there are 7 remaining slots. Of those 7, 4 are in the opposite half and 3 are in the same half. The 2nd max must be in the opposite half to reach the final.$\operatorname{Pr}(2$nd max reaches final $)=4 / 7$ GO Classes answered Sep 4, 2025 • reshown Sep 4, 2025 by GO Classes GO Classes comment Share Follow 0 reply Please log in or register to add a comment.