International Journal of Computer Applications |
Foundation of Computer Science (FCS), NY, USA |
Volume 89 - Number 14 |
Year of Publication: 2014 |
Authors: Shruti Pant, Pooja Khulbe |
10.5120/15699-4607 |
Shruti Pant, Pooja Khulbe . Shortest Path Algorithm using Hashing and Queue. International Journal of Computer Applications. 89, 14 ( March 2014), 17-21. DOI=10.5120/15699-4607
Finding the shortest path in a graph means selecting the path between source and destination which gives the minimum path length. This problem of finding the shortest path can be solved using Dijkstra algorithm. The time complexity of Dijkstra algorithm is high. Looking at the shortcoming of traditional Dijkstra algorithm, this paper has proposed a new method to improve the time complexity of this algorithm using queue and hashing techniques. The time complexity of the improved algorithm is O(n log n).