Im getting the wrong answer

Hello @Anchal

Read the solution to the same query asked before.

Start reading from the “Test cases will NOT still pass because the question is NOT explained properly in the problem statement.
The edges that are provided in the question are NOT the final edges.”

Let Me Know If You Still Need Any Help.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.