[Solved] Basketball Players Contest Problem
![[Solved] Basketball Players Contest Problem [Solved] Basketball Players Contest Problem](https://realcoder.techss24.com/wp-content/uploads/2022/06/Solved-Basketball-Players-Contest-Problem.png)
Basketball Players: There are ‘N’ basketball players, where ‘ith’ players have height ‘H[i]’. There is an array of pairs’ A’ where a pair (‘X’, ‘Y’) (where ‘X’ and ‘Y’ are not the same) denotes that player ‘X’ has won against…