I found that there is a duplicate edge in one test date as below:
in which [1,9] is duplicate.
Same question here, why we need duplicate edges? Is it even make sense?
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.