I did not understand the second check parent wala jo hsi

i did not understand the second check parent wala jo hsi

@Aditya-Kushwaha-914550392281281 which time stamp?

from time stamp 7.40

@Aditya-Kushwaha-914550392281281 sir explained at time stamp 3.00 , we are just basically checking ki visited node jo hai vahin se to aa nahi rahe the hum so parent[node]!=nbr

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.