Java icon indicating copy to clipboard operation
Java copied to clipboard

Other/Dijkshtra.java has some problems. I would like to recommend it's removal.

Open rmakynen opened this issue 8 years ago • 3 comments

Other/Dijkshtra.java has some problems:

  • Hard-coded magic numbers (1000000l)
  • initialization of a very large 2-dimensional array when it is not needed when using another implementation. - No description was given on the input format the algorithm was expecting.
  • Poor commenting.
  • Name of the algorithm is wrong. Should be "Dijkstra"

I have created a new pull request #559 that has new code for the algorithm. It has none of the above mentioned problems from what I can tell.

If the previously mentioned pull gets accepted, then I would recommend that the old version "Dijkshtra.java" should be removed.

rmakynen avatar Oct 08 '18 16:10 rmakynen

Hey @vishnoitanuj , I have requested some changes, go through my review for those.

prashantdoshi28 avatar Nov 17 '20 13:11 prashantdoshi28

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 13 '21 11:02 stale[bot]

Please reopen this issue once you add more information and updates here. If this is not the case and you need some help, feel free to seek help from our Gitter or ping one of the reviewers. Thank you for your contributions!

stale[bot] avatar Jul 21 '21 06:07 stale[bot]