computer science question Transcribed Image Text: Q} Solve the below programming problem using Python
Tyrion is learning game theory to impress the queen.Lord Varys wanted to test the
learning of Tyrion so he presented him with a problem on min-max. Tyrion in
solving the problem.
Given a tree with N nodes rooted at node 1. Each node (U) of the tree is
associated with a pair of values (AU, Bu). You need to find the value of result (
MIN(MAX(AU, Ay), MAX(By, By)) ifVlies in subtree of U