[solved] I think there is some bug in problem 685(Redundant Connection II)

Hello,
I'm confused by the correct answer in problem 685(Redundant Connection II) when input is:

[[2,1],[3,1],[4,2],[1,4]],

and it is said that the correct answer is:

Expected:[2,1],

which I think is wrong, the correct answer should be [3, 1].

Can someone fix it or point out my mistake? Thanks.

Comments (1)