+ 1
Topological Sorting Java
I have this assignment where I need to implement a topological sorting algorithm but I can't seem to make it work. I am not using linked lists as it is outside the scope of the course I'm taking. the algorithm I'm supposed to use is found in the code itself (as a comment) https://code.sololearn.com/cQmC4u4tP85P/#java
4 ответов
+ 2
It would help the debugging process if you provided input that shows the wrong operation. I was looking at it but do not have the time to do a thorough investigation of the code itself.
+ 1
Ani Jona 🕊 I am sorry for the late reply but my problem have been solved
I just had a logical error
Realised my mistake when I was giving more details on the code on another website
yet again, I am sorry for wasting your time ^^;
but thank you for considering to answer!
+ 1
No problem :) Glad it is solved :)
0
Quick note: this question is also posted on https://coderanch.com/t/751286/java/Topological-sorting-algorithm
this link