Three perf-test cases are failing

I haven’t used any visited array, just used the multisource bfs. Also not adding any unnecessary
pairs to the queue.
Perf 3, 4 and 8 are failing.

You are doing col >= max_row but you should do col >= max_col

1 Like

Closing this topic as your issue is resolved by the mentor. If it is still not resolved, Kindly un-mark the accepted solution or create a new topic and post this question as a reference link in the description of the new topic.