Failing all perf cases

I am not able to understand how to optimize the code further, I am only adding element in queue if distance is smaller than existing value.

Hi Kunal, this slipped under the radar. Were you able to resolve this?

My perf testcases are failing as well, would like some hints. I am solving in Java

Hi Omkar,
I see the Assessment passes all the testcases.
So does the issue still persist?

no i have solved it. thanks!