please have a look
Primsalgo function is not working
Hey @javadsalgo123
if (nc < oc) {
prims gp = map.get(nb);
gp.acq=rp.vname;// instead of gp.vname = rp.vname;
gp.cost = nc;
heap.updatePriority(gp);
}
You are printing some additional parts.
System.out.println(rp.vname);
System.out.println(map.containsKey("A"));
System.out.println("~~~~~~~~~~~~~~");
System .out.println(map);
heap.display();
System.out.println("~~~~~~~~~~~~~~");
Every time I told you please watch the video again
still code is not working fine?
and i do watch videos multiple times and if the problem persists then i post a doubt!
can’t find an issue?
code for heap!
Send me Complete Graph code,
here it is , code for prims algo start from line 364 :-
552 lines ka code client bhi send kro , input and output ka screenshot send kr na tumhara kya aa raha h
Graph client ka bhi code send krdo
kuch pta chla bhaiya kha problem hai?
Graph ka code h
isme class Name graphs se Main kr rkha hu change kr lena
Generic heap
Generic Heap me problem tha and Graph me bhi
kya kya issue tha , please ek dffa btado brief me !
And i’m sorry if im crossing line but kya apka number mil skta hai , its easier to communicate via WhatsApp
graph me kya dikkt thi?
thanks a lot bhaiya !!!
Please mark your doubts as resolved in your course’s. and rate full