
You are given an integer array matches where matches[i] = [winner _i , loser _i ] indicates that the player winner _i defeated player loser _i in a match.
Return a list answer of size 2 where:
answer[0] is a list of all players that have not lost any matches.
answer[1] is a list of all players that have lost exactly one match.
The values in the two lists should be returned in increasing order.
Note:
You should only consider the players that have played at least one match.
The testcases will be generated such that no two matches will have the same outcome.
1 <= matches.length <= 10 ^5matches[i].length == 21 <= winner _i , loser _i <= 10 ^5winner _i != loser _iAll matches[i] are unique .