I have been trying to find an input for which my solution to this problem fails…but unfortunately m not able to find one …asked admins for help …but no responses …this was not the same in july challenge…
@rachilies you cannot expect any help during an ongoing contest. Because it would defeat the very purpose of the event then!
2 Likes
If it is not given that vertex i is not connected to vertex i, can i assume that we can reach from vertex i to vertex i