you give integer array match matchesi winneri loseri indicate player winneri defeat player loseri matchReturn list answer size 2 whereanswer0 list player lose matchesanswer1 list player lose exactly matchThe value list return increase ordernoteyou consider player play matchThe testcase generate match outcome Example 1input match 1323365657454849104109output 12104578explanationplayer 1 2 10 lose matchesplayer 4 5 7 8 lose matchplayer 3 6 9 lose matchesthus answer0 1210 answer1 4578example 2input match 23135464output 1256explanationplayer 1 2 5 6 lose matchesplayer 3 4 lose matchesthus answer0 1256 answer1 Constraints1 matcheslength 105matchesilength 21 winneri loseri 105winneri loseriAll matchesi unique