Can you pls tell me where my thought procss is wrong in this code

Ide:-https://ide.geeksforgeeks.org/GA2I0vSDRr
ques:- Find number of islands
link ques:- https://practice.geeksforgeeks.org/problems/find-the-number-of-islands/1

hello @manikjindal49

pass ur grid vector by reference.
rest everything is correct

Ok thanks you so much

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.

ide:-https://ide.geeksforgeeks.org/3pRVUNaR3e
ques:- Dijkstra’s algorithm in graph theory
ques link:- https://practice.geeksforgeeks.org/problems/implementing-dijkstra-set-1-adjacency-matrix/1

Please tell me where i am wrong

please raise another doubt for this question

I will take care from next time now please answer it