Hello friends can someone tell me how to make an approach to this problem ?? @vijju123 @kaushal101 @mohit_negi @taran_1407 @vivek_1998299 @meooow
Thanks in advance
Hello friends can someone tell me how to make an approach to this problem ?? @vijju123 @kaushal101 @mohit_negi @taran_1407 @vivek_1998299 @meooow
Thanks in advance
Looks like it will involve using a tree structure for the choices made (allocating participants as Dull or Smart) to get an interesting match (and storing the associated values for the friend/player of each match participant), and recursion to work through the matches as far as possible to try and create all interesting matches, then retracing up the tree and trying the alternate choice when hit a boring match.
Ok mate giving it a try .
Still stuck with this … could not find a way through this . Someone please help .