r/javahelp • u/Shylamo • Jun 02 '20
Dijkstra using PriorityQueue and Collections
I have problem implementing Dijkstra's algorithm in Java using PriorityQueue. The program is not checking all the nodes . PLEASE I NEED HELP FIXING THIS. here is the code :
0
Upvotes
1
u/Robyt3 Jun 02 '20
Try doing the things that bring you closer to your goal and don't do the wrong things.
Also try a subreddit that's actually about .cs files (like /r/csharp or /r/cheesesandwich).
1
u/[deleted] Jun 02 '20
Help with what exactly? What solution have you tried? Or did you just want someone to send you a solution?